Skip to content

Commit

Permalink
Sharing: decode HTML entities in post titles
Browse files Browse the repository at this point in the history
See #61
  • Loading branch information
jeherve committed Jan 10, 2014
1 parent 1cace2b commit f734c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sharedaddy/sharing-sources.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public function get_display( $post ) {
}

public function process_request( $post, array $post_data ) {
$post_title = wp_kses( $this->get_share_title( $post->ID ), null );
$post_title = html_entity_decode( wp_kses( $this->get_share_title( $post->ID ), null ) );
$post_link = $this->get_share_url( $post->ID );

if ( function_exists( 'mb_stripos' ) ) {
Expand Down

0 comments on commit f734c02

Please sign in to comment.