Display PHP Version - Version 1.7

Version Description

  • May 7, 2021 =

  • Fixed minor caching issue preventing PHP version displaying straight away (unless you did a hard browser refresh) when upgrading plugin from v1.5 to v1.6. This is fixed in v1.7.

Download this release

Release Info

Developer dgwyer
Plugin Icon 128x128 Display PHP Version
Version 1.7
Comparing to
See all releases

Code changes from version 1.6 to 1.7

Files changed (2) hide show
  1. display-php-version.php +2 -2
  2. readme.txt +5 -1
display-php-version.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Display PHP Version
4
  Description: Displays the current PHP version in the "At a Glance" admin dashboard widget.
5
- Version: 1.6
6
  Author: David Gwyer
7
  Author URI: http://www.wpgoplugins.com
8
  */
@@ -32,7 +32,7 @@ function dpv_enqueue_script( $hook ) {
32
  }
33
 
34
  // enqueue script to show PHP version
35
- wp_enqueue_script( 'dpv_script', plugin_dir_url( __FILE__ ) . 'dpv.js' );
36
 
37
  // Remove '5.5.5-' prefix on Windows OS.
38
  $fullver = mysqli_get_server_info( mysqli_connect( DB_HOST, DB_USER, DB_PASSWORD, DB_NAME ) );
2
  /*
3
  Plugin Name: Display PHP Version
4
  Description: Displays the current PHP version in the "At a Glance" admin dashboard widget.
5
+ Version: 1.7
6
  Author: David Gwyer
7
  Author URI: http://www.wpgoplugins.com
8
  */
32
  }
33
 
34
  // enqueue script to show PHP version
35
+ wp_enqueue_script( 'dpv_script', plugin_dir_url( __FILE__ ) . 'dpv.js', array(), 1.7 );
36
 
37
  // Remove '5.5.5-' prefix on Windows OS.
38
  $fullver = mysqli_get_server_info( mysqli_connect( DB_HOST, DB_USER, DB_PASSWORD, DB_NAME ) );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: dgwyer, wpgoplugins
3
  Tags: admin, server, support, version, dashboard, widget, display, PHP
4
  Requires at least: 3.0
5
  Tested up to: 5.7.1
6
- Stable tag: 1.6
7
 
8
  Displays the currently installed PHP version in the "At a Glance" admin dashboard widget.
9
 
@@ -40,6 +40,10 @@ Instructions for installing the Display PHP Version Plugin.
40
 
41
  == Changelog ==
42
 
 
 
 
 
43
  = 1.6 - May 7, 2021 =
44
 
45
  * Tested plugin for WordPress 5.7.1.
3
  Tags: admin, server, support, version, dashboard, widget, display, PHP
4
  Requires at least: 3.0
5
  Tested up to: 5.7.1
6
+ Stable tag: 1.7
7
 
8
  Displays the currently installed PHP version in the "At a Glance" admin dashboard widget.
9
 
40
 
41
  == Changelog ==
42
 
43
+ = 1.7 - May 7, 2021 =
44
+
45
+ * Fixed minor caching issue preventing PHP version displaying straight away (unless you did a hard browser refresh) when upgrading plugin from v1.5 to v1.6. This is fixed in v1.7.
46
+
47
  = 1.6 - May 7, 2021 =
48
 
49
  * Tested plugin for WordPress 5.7.1.