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

Version Description

  • Versioning. Starting with this release, versions will follow this format: yymmdd. The version for this release is: 110523.
  • Routine maintenance. No signifigant changes.
Download this release

Release Info

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

Code changes from version 1.2.2 to 110523

images/promos/150x150.jpg ADDED
Binary file
images/promos/300x225.jpg ADDED
Binary file
images/promos/590x300.jpg ADDED
Binary file
images/promos/80x80.jpg ADDED
Binary file
images/promos/900x285.jpg ADDED
Binary file
images/promos/900x385.jpg ADDED
Binary file
images/promos/index.php ADDED
File without changes
images/promos/shots/00_preview-590x300.jpg ADDED
Binary file
images/promos/shots/00_preview-900x285.jpg ADDED
Binary file
images/promos/shots/00_preview-900x385.jpg ADDED
Binary file
images/promos/shots/index.php ADDED
File without changes
includes/classes/columns.inc.php CHANGED
@@ -8,11 +8,8 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
- exit ("Do not access this file directly.");
16
/**/
17
if (!class_exists ("c_ws_plugin__wp_show_ids_columns"))
18
{
@@ -24,45 +21,36 @@ if (!class_exists ("c_ws_plugin__wp_show_ids_columns"))
24
*/
25
public static function configure ()
26
{
27
- global $wp_post_types, $wp_taxonomies; /* Grab global references. */
28
/**/
29
do_action ("ws_plugin__wp_show_ids_before_configure", get_defined_vars ());
30
/**/
31
add_action ("admin_head", "c_ws_plugin__wp_show_ids_handlers::echo_css");
32
/**/
33
- add_filter ("manage_edit-post_columns", "c_ws_plugin__wp_show_ids_handlers::return_column");
34
- add_action ("manage_posts_custom_column", "c_ws_plugin__wp_show_ids_handlers::echo_value", 10, 2);
35
- /**/
36
- add_filter ("manage_edit-comments_columns", "c_ws_plugin__wp_show_ids_handlers::return_column");
37
- add_action ("manage_comments_custom_column", "c_ws_plugin__wp_show_ids_handlers::echo_value", 10, 2);
38
- /**/
39
- add_filter ("manage_edit-page_columns", "c_ws_plugin__wp_show_ids_handlers::return_column");
40
- add_action ("manage_pages_custom_column", "c_ws_plugin__wp_show_ids_handlers::echo_value", 10, 2);
41
- /**/
42
- add_filter ("manage_link-manager_columns", "c_ws_plugin__wp_show_ids_handlers::return_column");
43
- add_action ("manage_link_custom_column", "c_ws_plugin__wp_show_ids_handlers::echo_value", 10, 2);
44
/**/
45
- add_filter ("manage_edit-link-categories_columns", "c_ws_plugin__wp_show_ids_handlers::return_column");
46
- add_filter ("manage_link_categories_custom_column", "c_ws_plugin__wp_show_ids_handlers::return_value", 10, 3);
47
/**/
48
- add_filter ("manage_upload_columns", "c_ws_plugin__wp_show_ids_handlers::return_column");
49
- add_action ("manage_media_custom_column", "c_ws_plugin__wp_show_ids_handlers::echo_value", 10, 2);
50
/**/
51
- add_filter ("manage_users_columns", "c_ws_plugin__wp_show_ids_handlers::return_column");
52
- add_filter ("manage_users_custom_column", "c_ws_plugin__wp_show_ids_handlers::return_value", 10, 3);
53
/**/
54
- if (is_array ($wp_post_types))
55
- foreach ($wp_post_types as $type => $post_type_object) /* Handle WP 3.0+ Post Types. */
56
{
57
- add_action ("manage_edit-${type}_columns", "c_ws_plugin__wp_show_ids_handlers::return_column");
58
- add_filter ("manage_${type}_custom_column", "c_ws_plugin__wp_show_ids_handlers::return_value", 10, 3);
59
}
60
/**/
61
- if (is_array ($wp_taxonomies))
62
- foreach ($wp_taxonomies as $taxonomy => $taxonomy_o) /* Handle WP 3.0+ Taxonomies. */
63
{
64
- add_action ("manage_edit-${taxonomy}_columns", "c_ws_plugin__wp_show_ids_handlers::return_column");
65
- add_filter ("manage_${taxonomy}_custom_column", "c_ws_plugin__wp_show_ids_handlers::return_value", 10, 3);
66
}
67
/**/
68
do_action ("ws_plugin__wp_show_ids_after_configure", get_defined_vars ());
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
+ exit("Do not access this file directly.");
13
/**/
14
if (!class_exists ("c_ws_plugin__wp_show_ids_columns"))
15
{
21
*/
22
public static function configure ()
23
{
24
+ global $wp_post_types, $wp_taxonomies; /* Global references. */
25
/**/
26
do_action ("ws_plugin__wp_show_ids_before_configure", get_defined_vars ());
27
/**/
28
add_action ("admin_head", "c_ws_plugin__wp_show_ids_handlers::echo_css");
29
/**/
30
+ add_filter ("manage_users_columns", "c_ws_plugin__wp_show_ids_handlers::return_column", 100, 1);
31
+ add_filter ("manage_users_custom_column", "c_ws_plugin__wp_show_ids_handlers::return_value", 100, 3);
32
/**/
33
+ add_filter ("manage_edit-comments_columns", "c_ws_plugin__wp_show_ids_handlers::return_column", 100, 1);
34
+ add_action ("manage_comments_custom_column", "c_ws_plugin__wp_show_ids_handlers::echo_value", 100, 2);
35
/**/
36
+ add_filter ("manage_link-manager_columns", "c_ws_plugin__wp_show_ids_handlers::return_column", 100, 1);
37
+ add_action ("manage_link_custom_column", "c_ws_plugin__wp_show_ids_handlers::echo_value", 100, 2);
38
/**/
39
+ add_filter ("manage_upload_columns", "c_ws_plugin__wp_show_ids_handlers::return_column", 100, 1);
40
+ add_action ("manage_media_custom_column", "c_ws_plugin__wp_show_ids_handlers::echo_value", 100, 2);
41
/**/
42
+ if (is_array ($wp_taxonomies) && !empty ($wp_taxonomies)) /* All; including Custom Taxonomies. */
43
+ foreach (array_keys ($wp_taxonomies) as $taxonomy)
44
{
45
+ add_filter ("manage_edit-" . $taxonomy . "_columns", "c_ws_plugin__wp_show_ids_handlers::return_column", 100, 1);
46
+ add_filter ("manage_" . $taxonomy . "_custom_column", "c_ws_plugin__wp_show_ids_handlers::return_value", 100, 3);
47
}
48
/**/
49
+ if (is_array ($wp_post_types) && !empty ($wp_post_types)) /* All; including Custom Post Types. */
50
+ foreach (array_keys ($wp_post_types) as $type)
51
{
52
+ add_filter ("manage_" . $type . "_posts_columns", "c_ws_plugin__wp_show_ids_handlers::return_column", 100, 1);
53
+ add_action ("manage_" . $type . "_posts_custom_column", "c_ws_plugin__wp_show_ids_handlers::echo_value", 100, 2);
54
}
55
/**/
56
do_action ("ws_plugin__wp_show_ids_after_configure", get_defined_vars ());
includes/classes/handlers.inc.php CHANGED
@@ -8,47 +8,44 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
- exit ("Do not access this file directly.");
16
/**/
17
if (!class_exists ("c_ws_plugin__wp_show_ids_handlers"))
18
{
19
class c_ws_plugin__wp_show_ids_handlers
20
{
21
/*
22
- Echo the wp_show_ids column css for width.
23
- */
24
- public static function echo_css () /* Includes column headers too. */
25
- {
26
- $css = '<style type="text/css">';
27
- $css .= 'th.column-ws_plugin__wp_show_ids, td.column-ws_plugin__wp_show_ids { width:45px; text-align:center; }';
28
- $css .= '</style>';
29
- /**/
30
- echo apply_filters ("ws_plugin__wp_show_ids_echo_css", $css, get_defined_vars ());
31
- }
32
- /*
33
- Add the wp_show_ids column.
34
*/
35
public static function return_column ($cols = FALSE)
36
{
37
return apply_filters ("ws_plugin__wp_show_ids_return_column", array_merge ($cols, array ("ws_plugin__wp_show_ids" => "ID")), get_defined_vars ());
38
}
39
/*
40
- Return the wp_show_ids column value.
41
*/
42
public static function return_value ($value = FALSE, $column_name = FALSE, $id = FALSE)
43
{
44
- return apply_filters ("ws_plugin__wp_show_ids_return_value", ( ($column_name === "ws_plugin__wp_show_ids") ? $id : $value), get_defined_vars ());
45
}
46
/*
47
- Echo the wp_show_ids column value.
48
*/
49
public static function echo_value ($column_name = FALSE, $id = FALSE)
50
{
51
- echo apply_filters ("ws_plugin__wp_show_ids_echo_value", ( ($column_name === "ws_plugin__wp_show_ids") ? $id : null), get_defined_vars ());
52
}
53
}
54
}
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
+ exit("Do not access this file directly.");
13
/**/
14
if (!class_exists ("c_ws_plugin__wp_show_ids_handlers"))
15
{
16
class c_ws_plugin__wp_show_ids_handlers
17
{
18
/*
19
+ Add the ID column.
20
*/
21
public static function return_column ($cols = FALSE)
22
{
23
return apply_filters ("ws_plugin__wp_show_ids_return_column", array_merge ($cols, array ("ws_plugin__wp_show_ids" => "ID")), get_defined_vars ());
24
}
25
/*
26
+ Return ID value.
27
*/
28
public static function return_value ($value = FALSE, $column_name = FALSE, $id = FALSE)
29
{
30
+ return apply_filters ("ws_plugin__wp_show_ids_return_value", (($column_name === "ws_plugin__wp_show_ids") ? $id : $value), get_defined_vars ());
31
}
32
/*
33
+ Echo ID value.
34
*/
35
public static function echo_value ($column_name = FALSE, $id = FALSE)
36
{
37
+ echo apply_filters ("ws_plugin__wp_show_ids_echo_value", (($column_name === "ws_plugin__wp_show_ids") ? $id : ""), get_defined_vars ());
38
+ }
39
+ /*
40
+ Custom CSS for columns.
41
+ */
42
+ public static function echo_css () /* Includes column headers too. */
43
+ {
44
+ $css = '<style type="text/css">';
45
+ $css .= 'th.column-ws_plugin__wp_show_ids, td.column-ws_plugin__wp_show_ids { width:45px; text-align:center; }';
46
+ $css .= '</style>';
47
+ /**/
48
+ echo apply_filters ("ws_plugin__wp_show_ids_echo_css", $css, get_defined_vars ());
49
}
50
}
51
}
includes/classes/installation.inc.php CHANGED
@@ -8,9 +8,6 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
exit ("Do not access this file directly.");
16
/**/
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
exit ("Do not access this file directly.");
13
/**/
includes/classes/utilities.inc.php CHANGED
@@ -8,9 +8,6 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
exit ("Do not access this file directly.");
16
/**/
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
exit ("Do not access this file directly.");
13
/**/
includes/codes.inc.php CHANGED
@@ -8,9 +8,6 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
exit("Do not access this file directly.");
16
/*
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
exit("Do not access this file directly.");
13
/*
includes/funcs.inc.php CHANGED
@@ -8,9 +8,6 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
exit ("Do not access this file directly.");
16
/*
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
exit ("Do not access this file directly.");
13
/*
includes/functions/class-autoloader.inc.php CHANGED
@@ -8,9 +8,6 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
exit ("Do not access this file directly.");
16
/*
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
exit ("Do not access this file directly.");
13
/*
includes/functions/deprecated.inc.php CHANGED
@@ -8,9 +8,6 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
exit ("Do not access this file directly.");
16
/*
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
exit ("Do not access this file directly.");
13
/*
includes/hooks.inc.php CHANGED
@@ -8,9 +8,6 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
exit ("Do not access this file directly.");
16
/*
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
exit ("Do not access this file directly.");
13
/*
includes/syscon.inc.php CHANGED
@@ -8,9 +8,6 @@ You should have received a copy of the GNU General Public License,
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
- /*
12
- Direct access denial.
13
- */
14
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
15
exit ("Do not access this file directly.");
16
/*
8
along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
12
exit ("Do not access this file directly.");
13
/*
readme.txt CHANGED
@@ -1,16 +1,16 @@
1
=== WP Show IDs ( simple, yet elegant ) ===
2
3
- Version: 1.2.2
4
- Stable tag: 1.2.2
5
- Framework: WS-LP-3.5
6
7
WordPress Compatible: yes
8
WP Multisite Compatible: yes
9
Multisite Blog Farm Compatible: yes
10
11
- Tested up to: 3.1.1
12
- Requires at least: 3.0
13
- Requires: WordPress® 3.0+, PHP 5.2.3+
14
15
Copyright: © 2009 WebSharks, Inc.
16
License: GNU General Public License
@@ -21,6 +21,7 @@ Donate link: http://www.primothemes.com/donate/
21
22
Plugin Name: WP Show IDs
23
Forum URI: http://www.primothemes.com/forums/viewforum.php?f=35
24
Plugin URI: http://www.primothemes.com/post/product/wp-show-ids-plugin/
25
Description: Simple, yet elegant. Shows IDs for Posts, Pages, Media, Links, Categories, Tags, and Users in the admin tables for easy access. Very lightweight. Also supports Custom Post Types / Taxonomies.
26
Tags: admin, administration, dashboard, id, ids, wp ids, wp-ids, show ids, wordpress ids, simply, simply show ids, reveal, reveal ids, link, links, media, page, pages, post, posts, category, categories, tag, tags, user, users, options panel included, websharks framework, w3c validated code, includes extensive documentation, highly extensible
@@ -55,6 +56,10 @@ Yes, this plugin supports WordPress® 3.0+; even Custom Post Types &amp; Custom
55
56
== Changelog ==
57
58
= 1.2.2 =
59
* Routine maintenance. No signifigant changes.
60
1
=== WP Show IDs ( simple, yet elegant ) ===
2
3
+ Version: 110523
4
+ Stable tag: 110523
5
+ Framework: WS-LP-110523
6
7
WordPress Compatible: yes
8
WP Multisite Compatible: yes
9
Multisite Blog Farm Compatible: yes
10
11
+ Tested up to: 3.1.3
12
+ Requires at least: 3.1
13
+ Requires: WordPress® 3.1+, PHP 5.2.3+
14
15
Copyright: © 2009 WebSharks, Inc.
16
License: GNU General Public License
21
22
Plugin Name: WP Show IDs
23
Forum URI: http://www.primothemes.com/forums/viewforum.php?f=35
24
+ Privacy URI: http://www.primothemes.com/about/privacy-policy/
25
Plugin URI: http://www.primothemes.com/post/product/wp-show-ids-plugin/
26
Description: Simple, yet elegant. Shows IDs for Posts, Pages, Media, Links, Categories, Tags, and Users in the admin tables for easy access. Very lightweight. Also supports Custom Post Types / Taxonomies.
27
Tags: admin, administration, dashboard, id, ids, wp ids, wp-ids, show ids, wordpress ids, simply, simply show ids, reveal, reveal ids, link, links, media, page, pages, post, posts, category, categories, tag, tags, user, users, options panel included, websharks framework, w3c validated code, includes extensive documentation, highly extensible
56
57
== Changelog ==
58
59
+ = 110523 =
60
+ * **Versioning.** Starting with this release, versions will follow this format: `yymmdd`. The version for this release is: `110523`.
61
+ * Routine maintenance. No signifigant changes.
62
+
63
= 1.2.2 =
64
* Routine maintenance. No signifigant changes.
65
wp-show-ids.php CHANGED
@@ -9,17 +9,17 @@ along with this software. In the main directory, see: /licensing/
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
/*
12
- Version: 1.2.2
13
- Stable tag: 1.2.2
14
- Framework: WS-LP-3.5
15
16
WordPress Compatible: yes
17
WP Multisite Compatible: yes
18
Multisite Blog Farm Compatible: yes
19
20
- Tested up to: 3.1.1
21
- Requires at least: 3.0
22
- Requires: WordPress® 3.0+, PHP 5.2.3+
23
24
Copyright: © 2009 WebSharks, Inc.
25
License: GNU General Public License
@@ -30,21 +30,19 @@ Donate link: http://www.primothemes.com/donate/
30
31
Plugin Name: WP Show IDs
32
Forum URI: http://www.primothemes.com/forums/viewforum.php?f=35
33
Plugin URI: http://www.primothemes.com/post/product/wp-show-ids-plugin/
34
Description: Simple, yet elegant. Shows IDs for Posts, Pages, Media, Links, Categories, Tags, and Users in the admin tables for easy access. Very lightweight. Also supports Custom Post Types / Taxonomies.
35
Tags: admin, administration, dashboard, id, ids, wp ids, wp-ids, show ids, wordpress ids, simply, simply show ids, reveal, reveal ids, link, links, media, page, pages, post, posts, category, categories, tag, tags, user, users, options panel included, websharks framework, w3c validated code, includes extensive documentation, highly extensible
36
*/
37
- /*
38
- Direct access denial.
39
- */
40
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
41
exit ("Do not access this file directly.");
42
/*
43
Define versions.
44
*/
45
- @define ("WS_PLUGIN__WP_SHOW_IDS_VERSION", "1.2.2");
46
@define ("WS_PLUGIN__WP_SHOW_IDS_MIN_PHP_VERSION", "5.2.3");
47
- @define ("WS_PLUGIN__WP_SHOW_IDS_MIN_WP_VERSION", "3.0");
48
/*
49
Compatibility checks.
50
*/
@@ -84,11 +82,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 (( (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
?>
9
If not, see: <http://www.gnu.org/licenses/>.
10
*/
11
/*
12
+ Version: 110523
13
+ Stable tag: 110523
14
+ Framework: WS-LP-110523
15
16
WordPress Compatible: yes
17
WP Multisite Compatible: yes
18
Multisite Blog Farm Compatible: yes
19
20
+ Tested up to: 3.1.3
21
+ Requires at least: 3.1
22
+ Requires: WordPress® 3.1+, PHP 5.2.3+
23
24
Copyright: © 2009 WebSharks, Inc.
25
License: GNU General Public License
30
31
Plugin Name: WP Show IDs
32
Forum URI: http://www.primothemes.com/forums/viewforum.php?f=35
33
+ Privacy URI: http://www.primothemes.com/about/privacy-policy/
34
Plugin URI: http://www.primothemes.com/post/product/wp-show-ids-plugin/
35
Description: Simple, yet elegant. Shows IDs for Posts, Pages, Media, Links, Categories, Tags, and Users in the admin tables for easy access. Very lightweight. Also supports Custom Post Types / Taxonomies.
36
Tags: admin, administration, dashboard, id, ids, wp ids, wp-ids, show ids, wordpress ids, simply, simply show ids, reveal, reveal ids, link, links, media, page, pages, post, posts, category, categories, tag, tags, user, users, options panel included, websharks framework, w3c validated code, includes extensive documentation, highly extensible
37
*/
38
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
39
exit ("Do not access this file directly.");
40
/*
41
Define versions.
42
*/
43
+ @define ("WS_PLUGIN__WP_SHOW_IDS_VERSION", "110523");
44
@define ("WS_PLUGIN__WP_SHOW_IDS_MIN_PHP_VERSION", "5.2.3");
45
+ @define ("WS_PLUGIN__WP_SHOW_IDS_MIN_WP_VERSION", "3.1");
46
/*
47
Compatibility checks.
48
*/
82
{
83
if (!version_compare (PHP_VERSION, WS_PLUGIN__WP_SHOW_IDS_MIN_PHP_VERSION, ">="))
84
{
85
+ add_action ("all_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>\';'));
86
}
87
else if (!version_compare (get_bloginfo ("version"), WS_PLUGIN__WP_SHOW_IDS_MIN_WP_VERSION, ">="))
88
{
89
+ add_action ("all_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>\';'));
90
}
91
}
92
?>