From 81f5ea067fb1c4612d884ad093c4857e25948178 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Mon, 18 Dec 2017 22:40:03 +0100 Subject: [PATCH] htmlspecialchars instead of htmlentities --- README.md | 2 +- ostatus-for-wordpress.php | 4 ++-- readme.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ea5d538..ec67399 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **Donate link:** http://14101978.de **Requires at least:** 4.5 **Tested up to:** 4.9.1 -**Stable tag:** 2.3.0 +**Stable tag:** 2.3.1 **License:** MIT **License URI:** https://opensource.org/licenses/MIT diff --git a/ostatus-for-wordpress.php b/ostatus-for-wordpress.php index e484f04..2bf5852 100644 --- a/ostatus-for-wordpress.php +++ b/ostatus-for-wordpress.php @@ -7,7 +7,7 @@ * Author URI: https://notiz.blog/ * License: MIT * License URI: http://opensource.org/licenses/MIT - * Version: 2.3.0 + * Version: 2.3.1 * Text Domain: ostatus-for-wordpress * Domain Path: /languages */ @@ -156,7 +156,7 @@ public static function do_feed_ostatus( $for_comments ) { public static function the_feed_content( $output ) { if ( is_feed( 'ostatus' ) ) { - return htmlentities( $output ); + return htmlspecialchars( $output ); } return $output; diff --git a/readme.txt b/readme.txt index 63ba5d8..8052fa7 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: ostatus, federated, mastodon, social, gnusocial, statusnet Donate link: http://14101978.de Requires at least: 4.5 Tested up to: 4.9.1 -Stable tag: 2.3.0 +Stable tag: 2.3.1 License: MIT License URI: https://opensource.org/licenses/MIT