diff --git a/includes/Admin/views/codes.php b/includes/Admin/views/codes.php index 5261418..fa51353 100644 --- a/includes/Admin/views/codes.php +++ b/includes/Admin/views/codes.php @@ -15,7 +15,7 @@

-

+


diff --git a/includes/Admin/views/settings.php b/includes/Admin/views/settings.php index 69a92f9..c44ddff 100644 --- a/includes/Admin/views/settings.php +++ b/includes/Admin/views/settings.php @@ -15,7 +15,7 @@

-

+


diff --git a/includes/Admin/views/snippets.php b/includes/Admin/views/snippets.php index e62fda8..5bf9ece 100644 --- a/includes/Admin/views/snippets.php +++ b/includes/Admin/views/snippets.php @@ -15,7 +15,7 @@

-

+


diff --git a/includes/functions.php b/includes/functions.php index a7f95da..d522662 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -75,5 +75,18 @@ function insertcodes_get_allowed_html() { 'id' => array(), 'style' => array(), ), + 'link' => array( + 'rel' => array(), + 'type' => array(), + 'href' => array(), + 'media' => array(), + 'hreflang' => array(), + 'sizes' => array(), + 'as' => array(), + 'crossorigin' => array(), + 'referrerpolicy' => array(), + 'title' => array(), + 'integrity' => array(), + ), ); } diff --git a/insert-codes.php b/insert-codes.php index e1a6c18..b4f3bb0 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.2.0 + * Version: 1.3.0 * Requires at least: 5.0 * Requires PHP: 7.4 * Author: UrlDev @@ -12,7 +12,7 @@ * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: insert-codes * Domain Path: /languages - * Tested up to: 6.6 + * Tested up to: 6.7 * * @package InsertCodes * @@ -41,7 +41,7 @@ * @return Plugin plugin initialize class. */ function insertcodes() { - return Plugin::create( __FILE__, '1.2.0' ); + return Plugin::create( __FILE__, '1.3.0' ); } // Initialize the plugin. diff --git a/languages/insert-codes.pot b/languages/insert-codes.pot index 80c5d90..31150b7 100644 --- a/languages/insert-codes.pot +++ b/languages/insert-codes.pot @@ -1,15 +1,15 @@ -# Copyright (C) 2024 UrlDev +# Copyright (C) 2025 UrlDev # This file is distributed under the GPL v2 or later. msgid "" msgstr "" "Project-Id-Version: Insert Codes - The Code Snippets Manager for WordPress " -"1.2.0\n" +"1.3.0\n" "Report-Msgid-Bugs-To: https://urldev.com/support\n" -"POT-Creation-Date: 2024-09-07 15:45:49+00:00\n" +"POT-Creation-Date: 2025-01-14 04:10:39+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: en\n" @@ -50,7 +50,7 @@ msgstr "" #: includes/Admin/views/codes.php:18 msgid "" -"Bellow are the code editor fields for inserting codes inside the header, " +"Below are the code editor fields for inserting codes inside the header, " "body & footer." msgstr "" @@ -107,7 +107,7 @@ msgid "Give a Rating" msgstr "" #: includes/Admin/views/settings.php:18 -msgid "Bellow are the settings fields of the plugin." +msgid "Below are the settings fields of the plugin." msgstr "" #: includes/Admin/views/settings.php:25 @@ -167,7 +167,7 @@ msgstr "" #: includes/Admin/views/snippets.php:18 msgid "" -"Bellow are the code editor fields for inserting code snippets inside the " +"Below are the code editor fields for inserting code snippets inside the " "functions.php file." msgstr "" diff --git a/package-lock.json b/package-lock.json index a923a3a..4b1c3dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "insert-codes", - "version": "1.2.0", + "version": "1.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "insert-codes", - "version": "1.2.0", + "version": "1.3.0", "license": "GPL-v2.0-or-later", "devDependencies": { "@lodder/time-grunt": "^4.0.0", diff --git a/package.json b/package.json index c68a0e7..46b367c 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.2.0", + "version": "1.3.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 95ae158..75f5fd4 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: urldev Tags: code, code snippet, insert codes, header, footer Requires at least: 5.0 -Tested up to: 6.6 -Stable tag: 1.2.0 +Tested up to: 6.7 +Stable tag: 1.3.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -125,6 +125,10 @@ 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.3.0 (14 January 2025) = +* New: Added support for inserting css and js files using the link tag. +* Compatibility: Compatible with the latest version of WordPress. + = 1.2.0 (07 September 2024) = * New: Added support for custom code snippets. * Enhancement: Improved code snippet management.