fix hashtags replacement
This commit is contained in:
parent
48115bb252
commit
0fcc57ee04
1 changed files with 1 additions and 1 deletions
|
@ -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 ) );
|
||||
|
||||
|
|
Loading…
Reference in a new issue