diff --git a/README.md b/README.md index 6a8fec9..60757f0 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,9 @@ **Donate Link:** https://PayPal.me/gagan0123 **Tags:** Shortcode, Widget **Requires at least:** 3.3 -**Tested up to:** 4.8.1 -**Stable tag:** 1.5.1 +**Requires PHP:** 5.6 +**Tested up to:** 5.0.3 +**Stable tag:** 1.5.2 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -37,6 +38,10 @@ To test the widget you can add the widget and use the shortcode "[shortcode_widg ## Changelog ## +### 1.5.2 ### +* Some PHPCS corrections, making code adhering to WordPress coding standards. +* Replaced strip_tags function with wp_strip_all_tags. + ### 1.5.1 ### * Unescaped title back in the code as escaping it was creating issues with other plugins. diff --git a/languages/shortcode-widget.pot b/languages/shortcode-widget.pot index 293b66e..dc56218 100644 --- a/languages/shortcode-widget.pot +++ b/languages/shortcode-widget.pot @@ -1,14 +1,14 @@ -# Copyright (C) 2017 Gagan Deep Singh +# Copyright (C) 2019 Gagan Deep Singh # This file is distributed under the GPLv2. msgid "" msgstr "" "Project-Id-Version: Shortcode Widget 1.5.1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortcode-widget\n" -"POT-Creation-Date: 2017-09-05 08:56:33+00:00\n" +"POT-Creation-Date: 2019-02-21 10:52:37+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Poedit: \n" @@ -26,15 +26,15 @@ msgstr "" msgid "Shortcode Widget" msgstr "" -#: includes/class-shortcode-widget.php:114 +#: includes/class-shortcode-widget.php:115 msgid "Title:" msgstr "" -#: includes/class-shortcode-widget.php:117 +#: includes/class-shortcode-widget.php:118 msgid "Content:" msgstr "" -#: includes/class-shortcode-widget.php:120 +#: includes/class-shortcode-widget.php:121 msgid "Automatically add paragraphs" msgstr "" diff --git a/readme.txt b/readme.txt index afc7662..486b8a2 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: Shortcode, Widget Requires at least: 3.3 Requires PHP: 5.6 Tested up to: 5.0.3 -Stable tag: 1.5.1 +Stable tag: 1.5.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/shortcode-widget.php b/shortcode-widget.php index 5b7f8ee..fabf677 100644 --- a/shortcode-widget.php +++ b/shortcode-widget.php @@ -3,7 +3,7 @@ * Plugin Name: Shortcode Widget * Plugin URI: https://wordpress.org/plugins/shortcode-widget/ * Description: Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget) - * Version: 1.5.1 + * Version: 1.5.2 * Author: Gagan Deep Singh * Author URI: https://gagan0123.com * License: GPLv2