Version Description
- Fixed the bug due to which the the "Warning: Constants may only evaluate to scalar values in " warnings are displayed.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | Head and Footer Scripts Inserter |
Version | 4.1.1 |
Comparing to | |
See all releases |
Code changes from version 4.1 to 4.1.1
- header-and-footer-scripts-inserter.php +2 -2
- inc/php/page.php +2 -2
- inc/php/version.php +7 -1
- readme.txt +4 -1
header-and-footer-scripts-inserter.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily add your scripts to the WordPress website's head and footer sections. This is a must have tool for authors and website's owners.
|
6 |
* Author: Arthur Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
-
* Version: 4.1
|
9 |
* License: GPL3
|
10 |
* Text Domain: header-and-footer-scripts-inserter
|
11 |
* Domain Path: /languages/
|
@@ -66,7 +66,7 @@ defined( 'HFSINS_SLUG' ) or define( 'HFSINS_SLUG', 'header-and-footer-scripts-in
|
|
66 |
defined( 'HFSINS_PREFIX' ) or define( 'HFSINS_PREFIX', 'HFScriptsIns' );
|
67 |
defined( 'HFSINS_SETTINGS' ) or define( 'HFSINS_SETTINGS', 'HFScriptsIns' );
|
68 |
defined( 'HFSINS_NAME' ) or define( 'HFSINS_NAME', 'Head and Footer Scripts Inserter' );
|
69 |
-
defined( 'HFSINS_VERSION' ) or define( 'HFSINS_VERSION',
|
70 |
|
71 |
/**
|
72 |
* Load the plugin modules
|
5 |
* Description: Easily add your scripts to the WordPress website's head and footer sections. This is a must have tool for authors and website's owners.
|
6 |
* Author: Arthur Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
+
* Version: 4.1.1
|
9 |
* License: GPL3
|
10 |
* Text Domain: header-and-footer-scripts-inserter
|
11 |
* Domain Path: /languages/
|
66 |
defined( 'HFSINS_PREFIX' ) or define( 'HFSINS_PREFIX', 'HFScriptsIns' );
|
67 |
defined( 'HFSINS_SETTINGS' ) or define( 'HFSINS_SETTINGS', 'HFScriptsIns' );
|
68 |
defined( 'HFSINS_NAME' ) or define( 'HFSINS_NAME', 'Head and Footer Scripts Inserter' );
|
69 |
+
defined( 'HFSINS_VERSION' ) or define( 'HFSINS_VERSION', '4.1.1' );
|
70 |
|
71 |
/**
|
72 |
* Load the plugin modules
|
inc/php/page.php
CHANGED
@@ -15,8 +15,8 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
15 |
function HFScriptsIns_render_submenu_page() {
|
16 |
|
17 |
// Call messages
|
18 |
-
HFScriptsIns_hello_message();
|
19 |
-
HFScriptsIns_error_message();
|
20 |
HFScriptsIns_successfull_message();
|
21 |
|
22 |
// Layout of page
|
15 |
function HFScriptsIns_render_submenu_page() {
|
16 |
|
17 |
// Call messages
|
18 |
+
//HFScriptsIns_hello_message();
|
19 |
+
//HFScriptsIns_error_message();
|
20 |
HFScriptsIns_successfull_message();
|
21 |
|
22 |
// Layout of page
|
inc/php/version.php
CHANGED
@@ -71,4 +71,10 @@ function HFScriptsIns_plugin_version_number() {
|
|
71 |
}
|
72 |
|
73 |
}
|
74 |
-
HFScriptsIns_plugin_version_number();
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
}
|
74 |
+
//HFScriptsIns_plugin_version_number();
|
75 |
+
|
76 |
+
// TEMPORARY FIX
|
77 |
+
function HFScriptsIns_plugin_temp_fix() {
|
78 |
+
delete_option( HFSINS_SETTINGS . '_service_info' );
|
79 |
+
}
|
80 |
+
HFScriptsIns_plugin_temp_fix();
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: inject, insert, insert scripts, insert javascript, insert js, insert html,
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 4.1
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -149,6 +149,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
149 |
|
150 |
== Changelog ==
|
151 |
|
|
|
|
|
|
|
152 |
= 4.1 =
|
153 |
* Added new constants: "_SLUG", "_PREFIX", "_SETTINGS" and "_NAME".
|
154 |
* Value of the "_VERSION" constant replaced with information from the plugin header data.
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 4.1.1
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
149 |
|
150 |
== Changelog ==
|
151 |
|
152 |
+
= 4.1.1 =
|
153 |
+
* Fixed the bug due to which the the "Warning: Constants may only evaluate to scalar values in " warnings are displayed.
|
154 |
+
|
155 |
= 4.1 =
|
156 |
* Added new constants: "_SLUG", "_PREFIX", "_SETTINGS" and "_NAME".
|
157 |
* Value of the "_VERSION" constant replaced with information from the plugin header data.
|