Reveal IDs - Version 1.5.0

Version Description

  • Full support for multisite
  • Code cleanup
Download this release

Release Info

Developer Alphawolf
Plugin Icon 128x128 Reveal IDs
Version 1.5.0
Comparing to
See all releases

Code changes from version 1.4.7 to 1.5.0

Files changed (2) hide show
  1. readme.txt +9 -5
  2. reveal-ids-for-wp-admin-25.php +28 -16
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Reveal IDs ===
2
  Contributors: Alphawolf
3
- Donate link: http://www.schloebe.de/donate/
4
- Tags: reveal, id, wp-admin, hidden, category, post, page, media, links, capability, user, restore, comments, taxonomy, custom posts
5
  Requires at least: 3.0
6
  Tested up to: 4.7.999
7
  Stable tag: trunk
@@ -20,7 +20,7 @@ What this plugin does is to reveal most removed entry IDs on admin pages, showin
20
 
21
  * Sortable columns for WP 3.1 or higher
22
 
23
- [Developer on Google+](https://plus.google.com/118074611982254715031 "Developer on Google+") | [Developer on Twitter](http://twitter.com/wpseek "Developer on Twitter")
24
 
25
  **Included languages:**
26
 
@@ -39,7 +39,7 @@ What this plugin does is to reveal most removed entry IDs on admin pages, showin
39
  * Swedish (sv_SE) (Thanks for contributing swedish language goes to [Tor-Bjorn Fjellner](http://fjellner.com/))
40
  * Ukrainian (uk) (Thanks for contributing ukrainian language goes to [Everycloud](http://www.everycloudtech.com/))
41
 
42
- **Looking for more WordPress plugins? Visit [www.schloebe.de/portfolio/](http://www.schloebe.de/portfolio/)**
43
 
44
  == Frequently Asked Questions ==
45
 
@@ -54,6 +54,10 @@ None.
54
 
55
  == Changelog ==
56
 
 
 
 
 
57
  = 1.4.7 =
58
  * WordPress 4.7 compatibility
59
  * PHP 7 compatibility
@@ -80,7 +84,7 @@ None.
80
 
81
  = 1.3.0 =
82
  * Complete Code rewrite
83
- * Full wupport for custom post types
84
  * Full support for custom taxonomies
85
 
86
  = 1.2.7 =
1
  === Reveal IDs ===
2
  Contributors: Alphawolf
3
+ Donate link: https://www.schloebe.de/donate/
4
+ Tags: reveal, id, wp-admin, hidden, category, post, page, media, links, capability, user, restore, comments, taxonomy, custom posts, post type, multisite, ms
5
  Requires at least: 3.0
6
  Tested up to: 4.7.999
7
  Stable tag: trunk
20
 
21
  * Sortable columns for WP 3.1 or higher
22
 
23
+ [Developer on Google+](https://plus.google.com/118074611982254715031 "Developer on Google+") | [Developer on Twitter](https://twitter.com/wpseek "Developer on Twitter")
24
 
25
  **Included languages:**
26
 
39
  * Swedish (sv_SE) (Thanks for contributing swedish language goes to [Tor-Bjorn Fjellner](http://fjellner.com/))
40
  * Ukrainian (uk) (Thanks for contributing ukrainian language goes to [Everycloud](http://www.everycloudtech.com/))
41
 
42
+ **Looking for more WordPress plugins? Visit [www.schloebe.de/portfolio/](https://www.schloebe.de/portfolio/)**
43
 
44
  == Frequently Asked Questions ==
45
 
54
 
55
  == Changelog ==
56
 
57
+ = 1.5.0 =
58
+ * Full support for multisite
59
+ * Code cleanup
60
+
61
  = 1.4.7 =
62
  * WordPress 4.7 compatibility
63
  * PHP 7 compatibility
84
 
85
  = 1.3.0 =
86
  * Complete Code rewrite
87
+ * Full support for custom post types
88
  * Full support for custom taxonomies
89
 
90
  = 1.2.7 =
reveal-ids-for-wp-admin-25.php CHANGED
@@ -1,15 +1,15 @@
1
  <?php
2
  /*
3
  Plugin Name: Reveal IDs
4
- Version: 1.4.7
5
- Plugin URI: http://www.schloebe.de/wordpress/reveal-ids-for-wp-admin-25-plugin/
6
  Description: Reveals hidden IDs in Admin interface that have been removed with WordPress 2.5 (formerly known as Entry IDs in Manage Posts/Pages View for WP 2.5). See <a href="options-general.php?page=reveal-ids-for-wp-admin-25/reveal-ids-for-wp-admin-25.php">options page</a> for information.
7
  Author: Oliver Schl&ouml;be
8
- Author URI: http://www.schloebe.de/
9
  Text Domain: reveal-ids-for-wp-admin-25
10
  Domain Path: /languages
11
 
12
- Copyright 2008-2016 Oliver Schlöbe (email : scripts@schloebe.de)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
37
  /**
38
  * Define the plugin version
39
  */
40
- define("RIDWPA_VERSION", "1.4.7");
41
 
42
  /**
43
  * Define the plugin path slug
@@ -139,29 +139,41 @@ class RevealIDsForWPAdmin {
139
  add_action('manage_edit-link-categories_columns', array(&$this, 'column_add'));
140
  add_filter('manage_link_categories_custom_column', array(&$this, 'column_return_value'), 10, 3);
141
 
142
- foreach( get_taxonomies() as $taxonomy ) {
143
- add_action("manage_edit-${taxonomy}_columns", array(&$this, 'column_add'));
144
- add_filter("manage_${taxonomy}_custom_column", array(&$this, 'column_return_value'), 10, 3);
145
- if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') )
146
- add_filter("manage_edit-${taxonomy}_sortable_columns", array(&$this, 'column_add_clean') );
 
 
147
  }
148
 
149
- foreach( get_post_types() as $ptype ) {
150
- add_action("manage_edit-${ptype}_columns", array(&$this, 'column_add'));
151
- add_filter("manage_${ptype}_posts_custom_column", array(&$this, 'column_value'), 10, 3);
152
- if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') )
153
- add_filter("manage_edit-${ptype}_sortable_columns", array(&$this, 'column_add_clean') );
 
 
154
  }
155
 
156
  add_action('manage_users_columns', array(&$this, 'column_add'));
157
  add_filter('manage_users_custom_column', array(&$this, 'column_return_value'), 10, 3);
158
- if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') )
 
159
  add_filter("manage_users_sortable_columns", array(&$this, 'column_add_clean') );
 
160
 
161
  add_action('manage_edit-comments_columns', array(&$this, 'column_add'));
162
  add_action('manage_comments_custom_column', array(&$this, 'column_value'), 10, 2);
163
  if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') )
164
  add_filter("manage_edit-comments_sortable_columns", array(&$this, 'column_add_clean') );
 
 
 
 
 
 
165
  }
166
 
167
 
1
  <?php
2
  /*
3
  Plugin Name: Reveal IDs
4
+ Version: 1.5.0
5
+ Plugin URI: https://www.schloebe.de/wordpress/reveal-ids-for-wp-admin-25-plugin/
6
  Description: Reveals hidden IDs in Admin interface that have been removed with WordPress 2.5 (formerly known as Entry IDs in Manage Posts/Pages View for WP 2.5). See <a href="options-general.php?page=reveal-ids-for-wp-admin-25/reveal-ids-for-wp-admin-25.php">options page</a> for information.
7
  Author: Oliver Schl&ouml;be
8
+ Author URI: https://www.schloebe.de/
9
  Text Domain: reveal-ids-for-wp-admin-25
10
  Domain Path: /languages
11
 
12
+ Copyright 2008-2017 Oliver Schlöbe (email : scripts@schloebe.de)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License as published by
37
  /**
38
  * Define the plugin version
39
  */
40
+ define("RIDWPA_VERSION", "1.5.0");
41
 
42
  /**
43
  * Define the plugin path slug
139
  add_action('manage_edit-link-categories_columns', array(&$this, 'column_add'));
140
  add_filter('manage_link_categories_custom_column', array(&$this, 'column_return_value'), 10, 3);
141
 
142
+ foreach( get_taxonomies(array('public' => true)) as $taxonomy ) {
143
+ if( isset($taxonomy) ) {
144
+ add_action("manage_edit-${taxonomy}_columns", array(&$this, 'column_add'));
145
+ add_filter("manage_${taxonomy}_custom_column", array(&$this, 'column_return_value'), 10, 3);
146
+ if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') )
147
+ add_filter("manage_edit-${taxonomy}_sortable_columns", array(&$this, 'column_add_clean') );
148
+ }
149
  }
150
 
151
+ foreach( get_post_types(array('public' => true)) as $ptype ) {
152
+ if( isset($ptype) ) {
153
+ add_action("manage_edit-${ptype}_columns", array(&$this, 'column_add'));
154
+ add_filter("manage_${ptype}_posts_custom_column", array(&$this, 'column_value'), 10, 3);
155
+ if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') )
156
+ add_filter("manage_edit-${ptype}_sortable_columns", array(&$this, 'column_add_clean') );
157
+ }
158
  }
159
 
160
  add_action('manage_users_columns', array(&$this, 'column_add'));
161
  add_filter('manage_users_custom_column', array(&$this, 'column_return_value'), 10, 3);
162
+ if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') ) {
163
+ add_action('manage_users-network_columns', array(&$this, 'column_add'));
164
  add_filter("manage_users_sortable_columns", array(&$this, 'column_add_clean') );
165
+ }
166
 
167
  add_action('manage_edit-comments_columns', array(&$this, 'column_add'));
168
  add_action('manage_comments_custom_column', array(&$this, 'column_value'), 10, 2);
169
  if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') )
170
  add_filter("manage_edit-comments_sortable_columns", array(&$this, 'column_add_clean') );
171
+
172
+ if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') ) {
173
+ add_action('manage_users-network_columns', array(&$this, 'column_add'));
174
+ add_action('manage_sites-network_columns', array(&$this, 'column_add'));
175
+ add_filter('manage_sites_custom_column', array(&$this, 'column_value'), 10, 3);
176
+ }
177
  }
178
 
179