Head and Footer Scripts Inserter - Version 4.40.1

Version Description

  • Jul 16, 2019 =
  • Fixed: Prints a warning since PHP/7.1: "Notice: A non well formed numeric value encountered in /inc/php/versioning.php on line 43".
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 Head and Footer Scripts Inserter
Version 4.40.1
Comparing to
See all releases

Code changes from version 4.40 to 4.40.1

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.40
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.40.1
9
  * License: GPL3
10
  * Text Domain: header-and-footer-scripts-inserter
11
  * Domain Path: /languages/
humans.txt CHANGED
@@ -29,5 +29,5 @@
29
  Monica K.
30
 
31
  /* META */
32
- Last update: 2018/04/14
33
  See: http://humanstxt.org/
29
  Monica K.
30
 
31
  /* META */
32
+ Last update: 2019/02/21
33
  See: http://humanstxt.org/
inc/php/versioning.php CHANGED
@@ -37,10 +37,10 @@ function spacexchimp_p006_versioning() {
37
  $version_db = substr( $version_db, 0, 4 );
38
  $version_files = substr( $version_files, 0, 4 );
39
  if ( ! is_numeric( $version_db ) ) {
40
- $version_db = number_format( floor( $version_db * 100 ) / 100, 1, '.', '' );
41
  }
42
  if ( ! is_numeric( $version_files ) ) {
43
- $version_files = number_format( floor( $version_files * 100 ) / 100, 1, '.', '' );
44
  }
45
 
46
  // Count the number of decimal digits in version number
37
  $version_db = substr( $version_db, 0, 4 );
38
  $version_files = substr( $version_files, 0, 4 );
39
  if ( ! is_numeric( $version_db ) ) {
40
+ $version_db = number_format( floor( floatval( $version_db ) * 100 ) / 100, 1, '.', '' );
41
  }
42
  if ( ! is_numeric( $version_files ) ) {
43
+ $version_files = number_format( floor( floatval( $version_files ) * 100 ) / 100, 1, '.', '' );
44
  }
45
 
46
  // Count the number of decimal digits in version number
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: inject code, inject scripts, inject javascript, inject js, inject html, in
4
  Donate link: https://www.spacexchimp.com/donate.html
5
  Requires at least: 3.9
6
  Tested up to: 5.2
7
- Stable tag: 4.40
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -69,7 +69,7 @@ This plugin is ready for translation and has already been translated into severa
69
  * English (default)
70
  * Russian (translation by [Milena Kiseleva](https://www.instagram.com/milava_kiseleva/))
71
  * German (translation by Michael)
72
- * Polish
73
  * Spanish (translation by Ramiro Garcés and Patricio Toledo)
74
  * Dutch (translation by Peter Leenders)
75
  * French (translation by Jean-Michel, Theophil Bethel and Hervé Bouzin)
@@ -220,6 +220,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
220
 
221
  == Changelog ==
222
 
 
 
 
223
  = 4.40 - Mar 31, 2019 =
224
  * Framework updated: Code formatting improved.
225
  * Framework updated: Code commenting improved.
4
  Donate link: https://www.spacexchimp.com/donate.html
5
  Requires at least: 3.9
6
  Tested up to: 5.2
7
+ Stable tag: 4.40.1
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
69
  * English (default)
70
  * Russian (translation by [Milena Kiseleva](https://www.instagram.com/milava_kiseleva/))
71
  * German (translation by Michael)
72
+ * Polish (translation by Paweł K.)
73
  * Spanish (translation by Ramiro Garcés and Patricio Toledo)
74
  * Dutch (translation by Peter Leenders)
75
  * French (translation by Jean-Michel, Theophil Bethel and Hervé Bouzin)
220
 
221
  == Changelog ==
222
 
223
+ = 4.40.1 - Jul 16, 2019 =
224
+ * Fixed: Prints a warning since PHP/7.1: "Notice: A non well formed numeric value encountered in /inc/php/versioning.php on line 43".
225
+
226
  = 4.40 - Mar 31, 2019 =
227
  * Framework updated: Code formatting improved.
228
  * Framework updated: Code commenting improved.