My Custom Functions - Version 4.38.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 My Custom Functions
Version 4.38.1
Comparing to
See all releases

Code changes from version 4.38 to 4.38.1

Files changed (4) hide show
  1. humans.txt +1 -1
  2. inc/php/versioning.php +2 -2
  3. my-custom-functions.php +1 -1
  4. readme.txt +4 -1
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_p001_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
my-custom-functions.php CHANGED
@@ -5,7 +5,7 @@
5
  * 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.
6
  * Author: Space X-Chimp
7
  * Author URI: https://www.spacexchimp.com
8
- * Version: 4.38
9
  * License: GPL3
10
  * Text Domain: my-custom-functions
11
  * Domain Path: /languages/
5
  * 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.
6
  * Author: Space X-Chimp
7
  * Author URI: https://www.spacexchimp.com
8
+ * Version: 4.38.1
9
  * License: GPL3
10
  * Text Domain: my-custom-functions
11
  * Domain Path: /languages/
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: inject code, inject function, inject snippet, inject php, insert code, ins
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.38
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -252,6 +252,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
252
 
253
  == Changelog ==
254
 
 
 
 
255
  = 4.38 - Mar 31, 2019 =
256
  * Framework updated: Code formatting improved.
257
  * 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.38.1
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
252
 
253
  == Changelog ==
254
 
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
+
258
  = 4.38 - Mar 31, 2019 =
259
  * Framework updated: Code formatting improved.
260
  * Framework updated: Code commenting improved.