WP Show IDs ( simple, yet elegant ) - Version 1.0.6

Version Description

  • Framework updated; general cleanup.
  • Updated for compatibility with WordPress 3.1.
Download this release

Release Info

Developer PriMoThemes
Plugin Icon wp plugin WP Show IDs ( simple, yet elegant )
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

images/promos/150x150.jpg DELETED
Binary file
images/promos/300x225.jpg DELETED
Binary file
images/promos/590x300.jpg DELETED
Binary file
images/promos/80x80.jpg DELETED
Binary file
images/promos/900x285.jpg DELETED
Binary file
images/promos/900x385.jpg DELETED
Binary file
images/promos/index.php DELETED
File without changes
images/promos/shots/00_preview-590x300.jpg DELETED
Binary file
images/promos/shots/00_preview-900x285.jpg DELETED
Binary file
images/promos/shots/00_preview-900x385.jpg DELETED
Binary file
images/promos/shots/index.php DELETED
File without changes
includes/funcs.inc.php CHANGED
@@ -16,9 +16,10 @@ if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
16
  /*
17
  Include all of the functions that came with this plugin.
18
  */
19
- if (is_dir (dirname (__FILE__) . "/functions"))
20
- if ($ws_plugin__wp_show_ids_temp_r = opendir (dirname (__FILE__) . "/functions"))
21
- while (($ws_plugin__wp_show_ids_temp_s = readdir ($ws_plugin__wp_show_ids_temp_r)) !== false)
22
- if (preg_match ("/\.php$/", $ws_plugin__wp_show_ids_temp_s) && !preg_match ("/^index\.php$/i", $ws_plugin__wp_show_ids_temp_s))
23
- include_once dirname (__FILE__) . "/functions/" . $ws_plugin__wp_show_ids_temp_s;
 
24
  ?>
16
  /*
17
  Include all of the functions that came with this plugin.
18
  */
19
+ if (is_dir ($ws_plugin__wp_show_ids_temp_dir = dirname (__FILE__) . "/functions"))
20
+ foreach (scandir ($ws_plugin__wp_show_ids_temp_dir) as $ws_plugin__wp_show_ids_temp_s)
21
+ if (preg_match ("/\.php$/", $ws_plugin__wp_show_ids_temp_s) && !preg_match ("/^index\.php$/i", $ws_plugin__wp_show_ids_temp_s))
22
+ include_once $ws_plugin__wp_show_ids_temp_dir . "/" . $ws_plugin__wp_show_ids_temp_s;
23
+ /**/
24
+ unset ($ws_plugin__wp_show_ids_temp_dir, $ws_plugin__wp_show_ids_temp_s);
25
  ?>
includes/hooks.inc.php CHANGED
@@ -14,7 +14,7 @@ Direct access denial.
14
  if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
  exit("Do not access this file directly.");
16
  /*
17
- Add the plugin Hooks/Filters here.
18
  */
19
  add_action ("admin_init", "ws_plugin__wp_show_ids_configure");
20
  ?>
14
  if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
  exit("Do not access this file directly.");
16
  /*
17
+ Add the plugin Actions/Filters here.
18
  */
19
  add_action ("admin_init", "ws_plugin__wp_show_ids_configure");
20
  ?>
readme.txt CHANGED
@@ -1,14 +1,14 @@
1
  === WP Show IDs ( simple, yet elegant ) ===
2
 
3
- Version: 1.0.5
4
- Stable tag: 1.0.5
5
  Framework: WS-DIP-3.1
6
 
7
  WordPress Compatible: yes
8
  WP Multisite Compatible: yes
9
  Multisite Blog Farm Compatible: yes
10
 
11
- Tested up to: 3.0.2
12
  Requires at least: 3.0
13
  Requires: WordPress® 3.0+, PHP 5.2+
14
 
@@ -55,6 +55,10 @@ Yes, this plugin supports WordPress® 3.0+; even Custom Post Types & Custom
55
 
56
  == Changelog ==
57
 
 
 
 
 
58
  = 1.0.5 =
59
  * Framework updated. General cleanup.
60
 
1
  === WP Show IDs ( simple, yet elegant ) ===
2
 
3
+ Version: 1.0.6
4
+ Stable tag: 1.0.6
5
  Framework: WS-DIP-3.1
6
 
7
  WordPress Compatible: yes
8
  WP Multisite Compatible: yes
9
  Multisite Blog Farm Compatible: yes
10
 
11
+ Tested up to: 3.1
12
  Requires at least: 3.0
13
  Requires: WordPress® 3.0+, PHP 5.2+
14
 
55
 
56
  == Changelog ==
57
 
58
+ = 1.0.6 =
59
+ * Framework updated; general cleanup.
60
+ * Updated for compatibility with WordPress® 3.1.
61
+
62
  = 1.0.5 =
63
  * Framework updated. General cleanup.
64
 
wp-show-ids.php CHANGED
@@ -9,15 +9,15 @@ along with this software. In the main directory, see: /licensing/
9
  If not, see: <http://www.gnu.org/licenses/>.
10
  */
11
  /*
12
- Version: 1.0.5
13
- Stable tag: 1.0.5
14
  Framework: WS-DIP-3.1
15
 
16
  WordPress Compatible: yes
17
  WP Multisite Compatible: yes
18
  Multisite Blog Farm Compatible: yes
19
 
20
- Tested up to: 3.0.2
21
  Requires at least: 3.0
22
  Requires: WordPress® 3.0+, PHP 5.2+
23
 
@@ -42,7 +42,7 @@ if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
42
  /*
43
  Define versions.
44
  */
45
- define ("WS_PLUGIN__WP_SHOW_IDS_VERSION", "1.0.5");
46
  define ("WS_PLUGIN__WP_SHOW_IDS_MIN_PHP_VERSION", "5.2");
47
  define ("WS_PLUGIN__WP_SHOW_IDS_MIN_WP_VERSION", "3.0");
48
  /*
@@ -84,11 +84,11 @@ else if (is_admin ()) /* Admin compatibility errors. */
84
  {
85
  if (!version_compare (PHP_VERSION, WS_PLUGIN__WP_SHOW_IDS_MIN_PHP_VERSION, ">="))
86
  {
87
- add_action ("admin_notices", create_function ('', 'echo \'<div class="error fade"><p>You need PHP v\' . WS_PLUGIN__WP_SHOW_IDS_MIN_PHP_VERSION . \'+ to use the WP Show IDs plugin.</p></div>\';'));
88
  }
89
  else if (!version_compare (get_bloginfo ("version"), WS_PLUGIN__WP_SHOW_IDS_MIN_WP_VERSION, ">="))
90
  {
91
- add_action ("admin_notices", create_function ('', 'echo \'<div class="error fade"><p>You need WordPress® v\' . WS_PLUGIN__WP_SHOW_IDS_MIN_WP_VERSION . \'+ to use the WP Show IDs plugin.</p></div>\';'));
92
  }
93
  }
94
  ?>
9
  If not, see: <http://www.gnu.org/licenses/>.
10
  */
11
  /*
12
+ Version: 1.0.6
13
+ Stable tag: 1.0.6
14
  Framework: WS-DIP-3.1
15
 
16
  WordPress Compatible: yes
17
  WP Multisite Compatible: yes
18
  Multisite Blog Farm Compatible: yes
19
 
20
+ Tested up to: 3.1
21
  Requires at least: 3.0
22
  Requires: WordPress® 3.0+, PHP 5.2+
23
 
42
  /*
43
  Define versions.
44
  */
45
+ define ("WS_PLUGIN__WP_SHOW_IDS_VERSION", "1.0.6");
46
  define ("WS_PLUGIN__WP_SHOW_IDS_MIN_PHP_VERSION", "5.2");
47
  define ("WS_PLUGIN__WP_SHOW_IDS_MIN_WP_VERSION", "3.0");
48
  /*
84
  {
85
  if (!version_compare (PHP_VERSION, WS_PLUGIN__WP_SHOW_IDS_MIN_PHP_VERSION, ">="))
86
  {
87
+ add_action (( (version_compare (get_bloginfo ("version"), "3.1-RC", ">=")) ? "all_admin_notices" : "admin_notices"), create_function ('', 'echo \'<div class="error fade"><p>You need PHP v\' . WS_PLUGIN__WP_SHOW_IDS_MIN_PHP_VERSION . \'+ to use the WP Show IDs plugin.</p></div>\';'));
88
  }
89
  else if (!version_compare (get_bloginfo ("version"), WS_PLUGIN__WP_SHOW_IDS_MIN_WP_VERSION, ">="))
90
  {
91
+ add_action (( (version_compare (get_bloginfo ("version"), "3.1-RC", ">=")) ? "all_admin_notices" : "admin_notices"), create_function ('', 'echo \'<div class="error fade"><p>You need WordPress® v\' . WS_PLUGIN__WP_SHOW_IDS_MIN_WP_VERSION . \'+ to use the WP Show IDs plugin.</p></div>\';'));
92
  }
93
  }
94
  ?>