Display PHP Version - Version 1.0

Version Description

Download this release

Release Info

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

Version 1.0

Files changed (3) hide show
  1. display-php-version.php +36 -0
  2. readme.txt +35 -0
  3. screenshot-1.png +0 -0
display-php-version.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Display PHP Version
4
+ Description: Displays the current PHP version in the "Right Now" admin dashboard widget.
5
+ Version: 1.0
6
+ Author: David Gwyer
7
+ Author URI: http://www.presscoders.com
8
+ */
9
+
10
+ /* Copyright 2009 David Gwyer (email : d.v.gwyer@presscoders.com)
11
+
12
+ This program is free software; you can redistribute it and/or modify
13
+ it under the terms of the GNU General Public License as published by
14
+ the Free Software Foundation; either version 2 of the License, or
15
+ (at your option) any later version.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ function pc_add_php_version() {
28
+ ?>
29
+ <script language="javascript">
30
+ jQuery(document).ready(function($) {
31
+ $("#wp-version-message .b").after("<span>, with PHP <b><?php echo phpversion(); ?></b></span>");
32
+ });
33
+ </script>
34
+ <?php
35
+ }
36
+ add_action('rightnow_end', 'pc_add_php_version');
readme.txt ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Display PHP Version ===
2
+ Contributors: dgwyer
3
+ Tags: admin, dashboard, widget, display, PHP, version
4
+ Requires at least: 2.7
5
+ Tested up to: 3.2.1
6
+ Stable tag: 1.0
7
+
8
+ Displays the current PHP version in the "Right Now" admin dashboard widget.
9
+
10
+ == Description ==
11
+
12
+ Displays the current PHP version in the "Right Now" admin dashboard widget.
13
+
14
+ Please rate the Plugin if you find it useful, thanks.
15
+
16
+ See our <a href="http://www.presscoders.com" target="_blank">WordPress development site</a> for more information.
17
+
18
+ == Installation ==
19
+
20
+ Instructions for installing the Display PHP Version Plugin.
21
+
22
+ 1. Download and extract the Plugin zip file.
23
+ 2. Upload the folder containing the Plugin files to your WordPress Plugins folder (usually ../wp-content/plugins/ folder).
24
+ 3. Activate the Plugin via the 'Plugins' menu in WordPress.
25
+ 4. Go to your WordPress dashboard page and look next to your WordPress version to see what PHP version is running.
26
+
27
+ == Screenshots ==
28
+
29
+ 1. Show the current PHP version.
30
+
31
+ == Changelog ==
32
+
33
+ *1.0 update*
34
+
35
+ * Initial uploaded version!
screenshot-1.png ADDED
Binary file