Show IDs by 99 Robots - Version 1.0.5

Version Description

  • FIXED: Post and Page taxonomies were not showing IDs properly on multisite installs
Download this release

Release Info

Developer 99robots
Plugin Icon 128x128 Show IDs by 99 Robots
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0 to 1.0.5

Files changed (2) hide show
  1. readme.txt +43 -25
  2. wpsite-show-ids.php +7 -16
readme.txt CHANGED
@@ -1,35 +1,38 @@
1
- === WPsite Show IDs ===
2
- Contributors: wpsitenet, kjbenk, charliepatel
3
  Donate link:
4
  Tags: ID, show id, display id, show post id, display post id, reveal id, reveal post id, post, category, media, page, post type, post id, category id, media id, page id, post type id, comments, comment id, custom post type id, link id, show, display, reveal, taxonomy, taxonomy id, wordpress id, wp id, user, user id, tag, tag id, wp-admin
5
- Requires at least: 3.9
6
- Tested up to: 4.0
7
- Stable tag: 1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- The **Show IDs** plugin displays the ID of all posts, categories, pages, taxonomies, users, tags, and more.
12
 
13
  == Description ==
14
 
15
- **WPsite Show ID** plugin is super light-weight and does not need any configuration or separate options page. Simply activate the plugin and IDs will be displayed on all admin pages.
16
- * Light-weight with no options page required
17
- * Adds a new column on admin page to display IDs of all posts, pages, categories, and more
18
- * Supports custom post types and custom taxonomies
 
19
 
20
  = Features =
21
- The Show ID plugin will reveal IDs for the following:
22
- * posts
23
- * pages
24
- * categories
25
- * links
26
- * media
27
- * users
28
- * comments
29
- * link categories
30
- * custom taxonomies
31
- * custom post types
32
- * tags
 
 
33
 
34
  == Installation ==
35
 
@@ -43,14 +46,14 @@ You can install the **WPsite Show IDs** plugin from your WordPress Dashboard or
43
  1. Navigate to 'Plugins -> Add New' from your WordPress dashboard.
44
  2. Search for `WPsite Show ID` and install it.
45
  3. Activate the plugin from Plugins menu.
46
- 4. Thats it! There is no option configuration or page required.
47
 
48
  = Manual Installation =
49
 
50
  1. Download the plugin file: `wpsite-show-ids.zip`
51
  2. Unzip the file
52
  3. Upload the `wpsite-show-ids` folder to your `/wp-content/plugins` directory (do not rename the folder)
53
- 4. Activate the plugin from Plugins menu. There is no option configuration or page required.
54
 
55
  == Screenshots ==
56
 
@@ -58,5 +61,20 @@ You can install the **WPsite Show IDs** plugin from your WordPress Dashboard or
58
 
59
  == Changelog ==
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  = 1.0 =
62
- Initial Commit
1
+ === Show IDs ===
2
+ Contributors: 99robots
3
  Donate link:
4
  Tags: ID, show id, display id, show post id, display post id, reveal id, reveal post id, post, category, media, page, post type, post id, category id, media id, page id, post type id, comments, comment id, custom post type id, link id, show, display, reveal, taxonomy, taxonomy id, wordpress id, wp id, user, user id, tag, tag id, wp-admin
5
+ Requires at least: 4.0
6
+ Tested up to: 4.3
7
+ Stable tag: 1.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ The **Show IDs** plugin displays the ID of all posts, categories, pages, taxonomies, users, tags, and more.
12
 
13
  == Description ==
14
 
15
+ **99 Robots Show IDs** plugin is super light-weight and does not need any configuration or separate options page. Simply activate the plugin and IDs will be displayed on all admin pages.
16
+
17
+ * Light-weight with no options page required
18
+ * Adds a new column on admin page to display IDs of all posts, pages, categories, and more
19
+ * Supports custom post types and custom taxonomies
20
 
21
  = Features =
22
+
23
+ The Show ID plugin will reveal IDs for the following:
24
+
25
+ * posts
26
+ * pages
27
+ * categories
28
+ * tags
29
+ * links
30
+ * media
31
+ * users
32
+ * comments
33
+ * link categories
34
+ * custom taxonomies
35
+ * custom post types
36
 
37
  == Installation ==
38
 
46
  1. Navigate to 'Plugins -> Add New' from your WordPress dashboard.
47
  2. Search for `WPsite Show ID` and install it.
48
  3. Activate the plugin from Plugins menu.
49
+ 4. Thats it! There is no option configuration or page required.
50
 
51
  = Manual Installation =
52
 
53
  1. Download the plugin file: `wpsite-show-ids.zip`
54
  2. Unzip the file
55
  3. Upload the `wpsite-show-ids` folder to your `/wp-content/plugins` directory (do not rename the folder)
56
+ 4. Activate the plugin from Plugins menu. There is no option configuration or page required.
57
 
58
  == Screenshots ==
59
 
61
 
62
  == Changelog ==
63
 
64
+ = 1.0.5 =
65
+ * FIXED: Post and Page taxonomies were not showing IDs properly on multisite installs
66
+
67
+ = 1.0.4 =
68
+ * Re-branded to 99 Robots
69
+
70
+ = 1.0.3 =
71
+ * Minor Updates
72
+
73
+ = 1.0.2 =
74
+ * Compatible with WordPress 4.1
75
+
76
+ = 1.0.1 =
77
+ * Minor Updates
78
+
79
  = 1.0 =
80
+ * Initial Commit
wpsite-show-ids.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /*
3
- Plugin Name: WPsite Show IDs
4
- plugin URI: http://wpsite.net/wpsite-show-ids
5
  Description: Show IDs on all post, page and taxonomy pages.
6
- version: 1.0
7
- Author: WPSITE.NET
8
- Author URI: http://wpsite.net
9
  License: GPL2
10
  */
11
 
@@ -32,15 +32,6 @@ add_action( 'manage_link_custom_column', array('WPSiteShowIDs', 'add_value'), 10
32
  add_action( 'manage_edit-link-categories_columns', array('WPSiteShowIDs', 'add_column') );
33
  add_filter( 'manage_link_categories_custom_column', array('WPSiteShowIDs', 'add_return_value'), 10, 3 );
34
 
35
- // For Taxonmies
36
-
37
- foreach ( get_taxonomies() as $taxonomy ) {
38
- if (isset($taxonomy)) {
39
- add_action("manage_edit-" . $taxonomy . "_columns", array('WPSiteShowIDs', 'add_column'));
40
- add_filter("manage_" . $taxonomy . "_custom_column", array('WPSiteShowIDs', 'add_return_value'), 10, 3);
41
- }
42
- }
43
-
44
  // For User Management
45
  add_action( 'manage_users_columns', array('WPSiteShowIDs', 'add_column') );
46
  add_filter( 'manage_users_custom_column', array('WPSiteShowIDs', 'add_return_value'), 10, 3 );
@@ -64,7 +55,7 @@ class WPSiteShowIDs {
64
 
65
  // For Custom Taxonomies
66
 
67
- foreach ( get_taxonomies(array('public' => true, '_builtin' => false ), 'names') as $custom_taxonomy ) {
68
  if (isset($custom_taxonomy)) {
69
  add_action("manage_edit-" . $custom_taxonomy . "_columns", array('WPSiteShowIDs', 'add_column'));
70
  add_filter("manage_" . $custom_taxonomy . "_custom_column", array('WPSiteShowIDs', 'add_return_value'), 10, 3);
@@ -73,7 +64,7 @@ class WPSiteShowIDs {
73
 
74
  // For Custom Post Types
75
 
76
- foreach (get_post_types(array('public' => true, '_builtin' => false ), 'names') as $post_type) {
77
  if (isset($post_type)) {
78
  add_action("manage_edit-". $post_type . "_columns", array('WPSiteShowIDs', 'add_column'));
79
  add_filter("manage_". $post_type . "_custom_column", array('WPSiteShowIDs', 'add_return_value'), 10, 3);
1
  <?php
2
  /*
3
+ Plugin Name: 99 Robots Show IDs
4
+ plugin URI: http://99robots.com/wpsite-show-ids
5
  Description: Show IDs on all post, page and taxonomy pages.
6
+ version: 1.0.5
7
+ Author: 99 Robots
8
+ Author URI: http://99robots.com
9
  License: GPL2
10
  */
11
 
32
  add_action( 'manage_edit-link-categories_columns', array('WPSiteShowIDs', 'add_column') );
33
  add_filter( 'manage_link_categories_custom_column', array('WPSiteShowIDs', 'add_return_value'), 10, 3 );
34
 
 
 
 
 
 
 
 
 
 
35
  // For User Management
36
  add_action( 'manage_users_columns', array('WPSiteShowIDs', 'add_column') );
37
  add_filter( 'manage_users_custom_column', array('WPSiteShowIDs', 'add_return_value'), 10, 3 );
55
 
56
  // For Custom Taxonomies
57
 
58
+ foreach ( get_taxonomies(array('public' => true), 'names') as $custom_taxonomy ) {
59
  if (isset($custom_taxonomy)) {
60
  add_action("manage_edit-" . $custom_taxonomy . "_columns", array('WPSiteShowIDs', 'add_column'));
61
  add_filter("manage_" . $custom_taxonomy . "_custom_column", array('WPSiteShowIDs', 'add_return_value'), 10, 3);
64
 
65
  // For Custom Post Types
66
 
67
+ foreach (get_post_types(array('public' => true ), 'names') as $post_type) {
68
  if (isset($post_type)) {
69
  add_action("manage_edit-". $post_type . "_columns", array('WPSiteShowIDs', 'add_column'));
70
  add_filter("manage_". $post_type . "_custom_column", array('WPSiteShowIDs', 'add_return_value'), 10, 3);