From 0fcc57ee047c04c259fec43451aa15fdb5cff8aa Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Thu, 17 Dec 2020 18:24:30 +0100 Subject: [PATCH] fix hashtags replacement --- includes/model/class-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/model/class-post.php b/includes/model/class-post.php index eb6330f..ca057b7 100644 --- a/includes/model/class-post.php +++ b/includes/model/class-post.php @@ -227,7 +227,7 @@ class Post { $content = \str_replace( '%content%', $this->get_the_post_content(), $content ); $content = \str_replace( '%permalink%', $this->get_the_post_link( 'permalink' ), $content ); $content = \str_replace( '%shortlink%', $this->get_the_post_link( 'shortlink' ), $content ); - $content = \str_replace( '%tags%', $this->get_the_post_hashtags(), $content ); + $content = \str_replace( '%hashtags%', $this->get_the_post_hashtags(), $content ); $content = \trim( \preg_replace( '/[\r\n]{2,}/', '', $content ) );