Skip to content

Commit 0fcc57e

Browse files
committed
fix hashtags replacement
1 parent 48115bb commit 0fcc57e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/model/class-post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function generate_the_content() {
227227
$content = \str_replace( '%content%', $this->get_the_post_content(), $content );
228228
$content = \str_replace( '%permalink%', $this->get_the_post_link( 'permalink' ), $content );
229229
$content = \str_replace( '%shortlink%', $this->get_the_post_link( 'shortlink' ), $content );
230-
$content = \str_replace( '%tags%', $this->get_the_post_hashtags(), $content );
230+
$content = \str_replace( '%hashtags%', $this->get_the_post_hashtags(), $content );
231231

232232
$content = \trim( \preg_replace( '/[\r\n]{2,}/', '', $content ) );
233233

0 commit comments

Comments
 (0)