Skip to content

Commit

Permalink
Merge pull request #933 from Codeinwp/fix/title-encoded-entities
Browse files Browse the repository at this point in the history
fix: decode title entities
  • Loading branch information
Soare-Robert-Daniel authored Mar 29, 2024
2 parents 8ecc0de + cbfd530 commit a28c21d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/admin/helpers/class-rop-post-format-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ public function build_content( $post_id ) {
private function build_base_content( $post_id ) {

$post_title = apply_filters( 'rop_share_post_title', get_the_title( $post_id ), $post_id );
$post_title = html_entity_decode( $post_title );

$post_content = apply_filters( 'rop_share_post_content', get_post_field( 'post_content', $post_id ), $post_id );

switch ( $this->post_format['post_content'] ) {
Expand Down

0 comments on commit a28c21d

Please sign in to comment.