Skip to content

Commit e41c5b6

Browse files
Plugin updated to version 4.38.1
1 parent c8f5523 commit e41c5b6

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

humans.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@
2929
Monica K.
3030

3131
/* META */
32-
Last update: 2018/04/14
32+
Last update: 2019/02/21
3333
See: http://humanstxt.org/

inc/php/versioning.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ function spacexchimp_p001_versioning() {
3737
$version_db = substr( $version_db, 0, 4 );
3838
$version_files = substr( $version_files, 0, 4 );
3939
if ( ! is_numeric( $version_db ) ) {
40-
$version_db = number_format( floor( $version_db * 100 ) / 100, 1, '.', '' );
40+
$version_db = number_format( floor( floatval( $version_db ) * 100 ) / 100, 1, '.', '' );
4141
}
4242
if ( ! is_numeric( $version_files ) ) {
43-
$version_files = number_format( floor( $version_files * 100 ) / 100, 1, '.', '' );
43+
$version_files = number_format( floor( floatval( $version_files ) * 100 ) / 100, 1, '.', '' );
4444
}
4545

4646
// Count the number of decimal digits in version number

my-custom-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Easily and safely add your custom PHP code to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
66
* Author: Space X-Chimp
77
* Author URI: https://www.spacexchimp.com
8-
* Version: 4.38
8+
* Version: 4.38.1
99
* License: GPL3
1010
* Text Domain: my-custom-functions
1111
* Domain Path: /languages/

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: inject code, inject function, inject snippet, inject php, insert code, ins
44
Donate link: https://www.spacexchimp.com/donate.html
55
Requires at least: 3.9
66
Tested up to: 5.2
7-
Stable tag: 4.38
7+
Stable tag: 4.38.1
88
License: GPL3
99
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -252,6 +252,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
252252

253253
== Changelog ==
254254

255+
= 4.38.1 - Jul 16, 2019 =
256+
* Fixed: Prints a warning since PHP/7.1: "Notice: A non well formed numeric value encountered in /inc/php/versioning.php on line 43".
257+
255258
= 4.38 - Mar 31, 2019 =
256259
* Framework updated: Code formatting improved.
257260
* Framework updated: Code commenting improved.

0 commit comments

Comments
 (0)