Version Description
- Dec 8, 2020 =
- Maintenance: Ensure compatibility with upcoming WordPress 5.6.
- Maintenance: Every use of the hardcoded plugin slug has been replaced with a variable according to best coding standards.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | Head and Footer Scripts Inserter |
Version | 4.49 |
Comparing to | |
See all releases |
Code changes from version 4.48 to 4.49
- header-and-footer-scripts-inserter.php +1 -1
- inc/php/core.php +1 -1
- inc/php/sidebar.php +1 -1
- languages/header-and-footer-scripts-inserter-de_DE.mo +0 -0
- languages/header-and-footer-scripts-inserter-de_DE.po +3 -3
- languages/header-and-footer-scripts-inserter-es_ES.mo +0 -0
- languages/header-and-footer-scripts-inserter-es_ES.po +3 -3
- languages/header-and-footer-scripts-inserter-fr_FR.mo +0 -0
- languages/header-and-footer-scripts-inserter-fr_FR.po +3 -3
- languages/header-and-footer-scripts-inserter-nl_NL.mo +0 -0
- languages/header-and-footer-scripts-inserter-nl_NL.po +3 -3
- languages/header-and-footer-scripts-inserter-pl_PL.mo +0 -0
- languages/header-and-footer-scripts-inserter-pl_PL.po +3 -3
- languages/header-and-footer-scripts-inserter-ru_RU.mo +0 -0
- languages/header-and-footer-scripts-inserter-ru_RU.po +3 -3
- languages/header-and-footer-scripts-inserter.pot +2 -2
- readme.txt +6 -2
header-and-footer-scripts-inserter.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
-
* Version: 4.
|
9 |
* License: GPL3
|
10 |
* Text Domain: header-and-footer-scripts-inserter
|
11 |
* Domain Path: /languages/
|
5 |
* Description: Easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
+
* Version: 4.49
|
9 |
* License: GPL3
|
10 |
* Text Domain: header-and-footer-scripts-inserter
|
11 |
* Domain Path: /languages/
|
inc/php/core.php
CHANGED
@@ -36,7 +36,7 @@ function spacexchimp_p006_settings_link( $links ) {
|
|
36 |
array_unshift( $links, $link_settings );
|
37 |
|
38 |
// Declare variables
|
39 |
-
$url_upgrade = "https://www.spacexchimp.com/plugins/
|
40 |
$text_upgrade = __( 'Upgrade to PRO', $plugin['text'] );
|
41 |
$link_upgrade = '<a href="' . $url_upgrade . '" target="_blank"><b style="color:#0f9f44;">' . $text_upgrade . '</b></a>';
|
42 |
|
36 |
array_unshift( $links, $link_settings );
|
37 |
|
38 |
// Declare variables
|
39 |
+
$url_upgrade = "https://www.spacexchimp.com/plugins/" . $plugin['slug'] . "-pro.html";
|
40 |
$text_upgrade = __( 'Upgrade to PRO', $plugin['text'] );
|
41 |
$link_upgrade = '<a href="' . $url_upgrade . '" target="_blank"><b style="color:#0f9f44;">' . $text_upgrade . '</b></a>';
|
42 |
|
inc/php/sidebar.php
CHANGED
@@ -26,7 +26,7 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
26 |
<!-- UPGRADE -->
|
27 |
<div class="postbox banner">
|
28 |
<div class="inside">
|
29 |
-
<a href="https://www.spacexchimp.com/plugins
|
30 |
<img src="<?php echo $plugin['url'] . 'inc/img/upgrade.png'; ?>" alt="Upgrade" style="margin-top:-16px;">
|
31 |
</a>
|
32 |
</div>
|
26 |
<!-- UPGRADE -->
|
27 |
<div class="postbox banner">
|
28 |
<div class="inside">
|
29 |
+
<a href="https://www.spacexchimp.com/plugins/<?php echo $plugin['slug'] . '-pro'; ?>.html" target="_blank">
|
30 |
<img src="<?php echo $plugin['url'] . 'inc/img/upgrade.png'; ?>" alt="Upgrade" style="margin-top:-16px;">
|
31 |
</a>
|
32 |
</div>
|
languages/header-and-footer-scripts-inserter-de_DE.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-de_DE.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2020-
|
7 |
-
"PO-Revision-Date: 2020-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: German\n"
|
10 |
"Language: de_DE\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
-
"X-Generator: Poedit 2.4.
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2020-12-08 16:35+0300\n"
|
7 |
+
"PO-Revision-Date: 2020-12-08 16:35+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: German\n"
|
10 |
"Language: de_DE\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
+
"X-Generator: Poedit 2.4.2\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
languages/header-and-footer-scripts-inserter-es_ES.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-es_ES.po
CHANGED
@@ -3,15 +3,15 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2020-
|
7 |
-
"PO-Revision-Date: 2020-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Spanish\n"
|
10 |
"Language: es_ES\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"X-Generator: Poedit 2.4.
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2020-12-08 16:36+0300\n"
|
7 |
+
"PO-Revision-Date: 2020-12-08 16:36+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Spanish\n"
|
10 |
"Language: es_ES\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Poedit 2.4.2\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
languages/header-and-footer-scripts-inserter-fr_FR.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-fr_FR.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2020-
|
7 |
-
"PO-Revision-Date: 2020-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: French\n"
|
10 |
"Language: fr_FR\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
15 |
-
"X-Generator: Poedit 2.4.
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2020-12-08 16:36+0300\n"
|
7 |
+
"PO-Revision-Date: 2020-12-08 16:36+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: French\n"
|
10 |
"Language: fr_FR\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
15 |
+
"X-Generator: Poedit 2.4.2\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
languages/header-and-footer-scripts-inserter-nl_NL.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-nl_NL.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2020-
|
7 |
-
"PO-Revision-Date: 2020-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Dutch\n"
|
10 |
"Language: nl_NL\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
-
"X-Generator: Poedit 2.4.
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2020-12-08 16:36+0300\n"
|
7 |
+
"PO-Revision-Date: 2020-12-08 16:36+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Dutch\n"
|
10 |
"Language: nl_NL\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"X-Generator: Poedit 2.4.2\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
languages/header-and-footer-scripts-inserter-pl_PL.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-pl_PL.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2020-
|
7 |
-
"PO-Revision-Date: 2020-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Polish\n"
|
10 |
"Language: pl_PL\n"
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10 >= 2 && n%10<=4 &&(n%100<10||n%100 >= 20)? 1 : 2);\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Generator: Poedit 2.4.
|
17 |
"X-Poedit-Basepath: ..\n"
|
18 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
19 |
"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2020-12-08 16:36+0300\n"
|
7 |
+
"PO-Revision-Date: 2020-12-08 16:36+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Polish\n"
|
10 |
"Language: pl_PL\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10 >= 2 && n%10<=4 &&(n%100<10||n%100 >= 20)? 1 : 2);\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Generator: Poedit 2.4.2\n"
|
17 |
"X-Poedit-Basepath: ..\n"
|
18 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
19 |
"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
languages/header-and-footer-scripts-inserter-ru_RU.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-ru_RU.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2020-
|
7 |
-
"PO-Revision-Date: 2020-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Russian\n"
|
10 |
"Language: ru_RU\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
15 |
-
"X-Generator: Poedit 2.4.
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2020-12-08 16:36+0300\n"
|
7 |
+
"PO-Revision-Date: 2020-12-08 16:36+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Russian\n"
|
10 |
"Language: ru_RU\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
15 |
+
"X-Generator: Poedit 2.4.2\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
languages/header-and-footer-scripts-inserter.pot
CHANGED
@@ -3,14 +3,14 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2020-
|
7 |
"PO-Revision-Date: 2016-01-30 11:39+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 2.4.
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2020-12-08 16:36+0300\n"
|
7 |
"PO-Revision-Date: 2016-01-30 11:39+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 2.4.2\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: Arthur Gareginyan
|
|
3 |
Tags: inject code, inject scripts, inject javascript, inject js, inject html, inject css, insert code, insert scripts, insert javascript, insert js, insert html, insert css, inject custom code, inject custom scripts, inject custom snippet, insert custom code, insert custom scripts, insert custom snippet, html, javascript, js, css, code, custom code, script, scripts, custom scripts, meta, meta tags, head, header, head section, head area, footer, footer section, footer area
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 4.9
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 4.
|
9 |
License: GPL3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -224,6 +224,10 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
224 |
|
225 |
== Changelog ==
|
226 |
|
|
|
|
|
|
|
|
|
227 |
= 4.48 - Oct 23, 2020 =
|
228 |
* Framework update: The CodeMirror library has been updated to the latest version v5.58.1.
|
229 |
|
3 |
Tags: inject code, inject scripts, inject javascript, inject js, inject html, inject css, insert code, insert scripts, insert javascript, insert js, insert html, insert css, inject custom code, inject custom scripts, inject custom snippet, insert custom code, insert custom scripts, insert custom snippet, html, javascript, js, css, code, custom code, script, scripts, custom scripts, meta, meta tags, head, header, head section, head area, footer, footer section, footer area
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 4.9
|
6 |
+
Tested up to: 5.6
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 4.49
|
9 |
License: GPL3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
224 |
|
225 |
== Changelog ==
|
226 |
|
227 |
+
= 4.49 - Dec 8, 2020 =
|
228 |
+
* Maintenance: Ensure compatibility with upcoming WordPress 5.6.
|
229 |
+
* Maintenance: Every use of the hardcoded plugin slug has been replaced with a variable according to best coding standards.
|
230 |
+
|
231 |
= 4.48 - Oct 23, 2020 =
|
232 |
* Framework update: The CodeMirror library has been updated to the latest version v5.58.1.
|
233 |
|