Skip to content

Commit e331a84

Browse files
committed
Add support for ability to adding inner style
1 parent e4b066d commit e331a84

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

includes/functions.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ function insertcodes_get_allowed_html() {
1919
'data-user' => array(),
2020
'id' => array(),
2121
),
22+
'style' => array(
23+
'type' => array(),
24+
'media' => array(),
25+
'src' => array(),
26+
),
2227
'noscript' => array(
2328
'type' => array(),
2429
'src' => array(),

insert-codes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Insert Codes - The Code Snippets Manager for WordPress
44
* Plugin URI: https://urldev.com/plugins/insert-codes/
55
* 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.
6-
* Version: 1.4.0
6+
* Version: 1.5.0
77
* Requires at least: 5.0
88
* Requires PHP: 7.4
99
* Author: UrlDev
@@ -41,7 +41,7 @@
4141
* @return Plugin plugin initialize class.
4242
*/
4343
function insertcodes() {
44-
return Plugin::create( __FILE__, '1.4.0' );
44+
return Plugin::create( __FILE__, '1.5.0' );
4545
}
4646

4747
// Initialize the plugin.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "insert-codes",
33
"title": "Insert Codes - The Code Snippets Manager for WordPress",
4-
"version": "1.4.0",
4+
"version": "1.5.0",
55
"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.",
66
"homepage": "https://urldev.com/plugins/insert-codes/",
77
"license": "GPL-v2.0-or-later",

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: urldev
33
Tags: code, code snippet, insert codes, header, footer
44
Requires at least: 5.0
55
Tested up to: 6.7
6-
Stable tag: 1.4.0
6+
Stable tag: 1.5.0
77
Requires PHP: 7.4
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html

0 commit comments

Comments
 (0)