diff --git a/includes/functions.php b/includes/functions.php index d522662..13b19c8 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -19,6 +19,11 @@ function insertcodes_get_allowed_html() { 'data-user' => array(), 'id' => array(), ), + 'style' => array( + 'type' => array(), + 'media' => array(), + 'src' => array(), + ), 'noscript' => array( 'type' => array(), 'src' => array(), diff --git a/insert-codes.php b/insert-codes.php index 4034320..085d06e 100644 --- a/insert-codes.php +++ b/insert-codes.php @@ -3,7 +3,7 @@ * Plugin Name: Insert Codes - The Code Snippets Manager for WordPress * Plugin URI: https://urldev.com/plugins/insert-codes/ * Description: The "Insert Codes - The Code Snippets Manager for WordPress" plugin allows you to easily manage custom code snippets and add custom code to the header, body, and footer sections of your WordPress website. - * Version: 1.4.0 + * Version: 1.5.0 * Requires at least: 5.0 * Requires PHP: 7.4 * Author: UrlDev @@ -41,7 +41,7 @@ * @return Plugin plugin initialize class. */ function insertcodes() { - return Plugin::create( __FILE__, '1.4.0' ); + return Plugin::create( __FILE__, '1.5.0' ); } // Initialize the plugin. diff --git a/languages/insert-codes.pot b/languages/insert-codes.pot index 870c4c9..5784683 100644 --- a/languages/insert-codes.pot +++ b/languages/insert-codes.pot @@ -3,9 +3,9 @@ msgid "" msgstr "" "Project-Id-Version: Insert Codes - The Code Snippets Manager for WordPress " -"1.4.0\n" +"1.5.0\n" "Report-Msgid-Bugs-To: https://urldev.com/support\n" -"POT-Creation-Date: 2025-01-15 10:37:45+00:00\n" +"POT-Creation-Date: 2025-03-11 20:26:23+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/package-lock.json b/package-lock.json index 0da5e56..6fb72ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "insert-codes", - "version": "1.4.0", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "insert-codes", - "version": "1.4.0", + "version": "1.5.0", "license": "GPL-v2.0-or-later", "devDependencies": { "@lodder/time-grunt": "^4.0.0", diff --git a/package.json b/package.json index 66394fd..7cf2693 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "insert-codes", "title": "Insert Codes - The Code Snippets Manager for WordPress", - "version": "1.4.0", + "version": "1.5.0", "description": "The \"Insert Codes - The Code Snippets Manager for WordPress\" plugin allows you to easily manage custom code snippets and add custom code to the header, body, and footer sections of your WordPress website.", "homepage": "https://urldev.com/plugins/insert-codes/", "license": "GPL-v2.0-or-later", diff --git a/readme.txt b/readme.txt index 776168d..3153cc0 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: urldev Tags: code, code snippet, insert codes, header, footer Requires at least: 5.0 Tested up to: 6.7 -Stable tag: 1.4.0 +Stable tag: 1.5.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -125,6 +125,9 @@ A: Currently, the plugin does not support adding scripts to specific taxonomies. 3. Settings Page: Easy and user-friendly admin panel to configure the header, body, and footer scripts options. == Changelog == += 1.5.0 (12 March 2025) = +* New: Add support for the ability to add inner style. + = 1.4.0 (15 January 2025) = * New: Added WordPress Playground for live preview of code snippets.