Reveal IDs - Version 1.5.2

Version Description

  • Workaround for third-party plugin incompatibilities
Download this release

Release Info

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

Code changes from version 1.5.1 to 1.5.2

Files changed (2) hide show
  1. readme.txt +4 -1
  2. reveal-ids-for-wp-admin-25.php +8 -8
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -54,6 +54,9 @@ None.
54
 
55
  == Changelog ==
56
 
 
 
 
57
  = 1.5.1 =
58
  * Sortable columns for users listing on multisite/network
59
 
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.9.999
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
54
 
55
  == Changelog ==
56
 
57
+ = 1.5.2 =
58
+ * Workaround for third-party plugin incompatibilities
59
+
60
  = 1.5.1 =
61
  * Sortable columns for users listing on multisite/network
62
 
reveal-ids-for-wp-admin-25.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Reveal IDs
4
- Version: 1.5.1
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
@@ -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.5.1");
41
 
42
  /**
43
  * Define the plugin path slug
@@ -137,12 +137,12 @@ class RevealIDsForWPAdmin {
137
  add_action('manage_link_custom_column', array(&$this, 'column_value'), 10, 2);
138
 
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
  }
@@ -151,14 +151,14 @@ class RevealIDsForWPAdmin {
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') );
@@ -166,13 +166,13 @@ class RevealIDsForWPAdmin {
166
  }
167
 
168
  add_action('manage_edit-comments_columns', array(&$this, 'column_add'));
169
- add_action('manage_comments_custom_column', array(&$this, 'column_value'), 10, 2);
170
  if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') )
171
  add_filter("manage_edit-comments_sortable_columns", array(&$this, 'column_add_clean') );
172
 
173
  if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') ) {
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
 
1
  <?php
2
  /*
3
  Plugin Name: Reveal IDs
4
+ Version: 1.5.2
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
37
  /**
38
  * Define the plugin version
39
  */
40
+ define("RIDWPA_VERSION", "1.5.2");
41
 
42
  /**
43
  * Define the plugin path slug
137
  add_action('manage_link_custom_column', array(&$this, 'column_value'), 10, 2);
138
 
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'), 100, 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'), 100, 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
  }
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'), 100, 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'), 100, 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') );
166
  }
167
 
168
  add_action('manage_edit-comments_columns', array(&$this, 'column_add'));
169
+ add_action('manage_comments_custom_column', array(&$this, 'column_value'), 100, 2);
170
  if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') )
171
  add_filter("manage_edit-comments_sortable_columns", array(&$this, 'column_add_clean') );
172
 
173
  if( version_compare($GLOBALS['wp_version'], '3.0.999', '>') ) {
174
  add_action('manage_sites-network_columns', array(&$this, 'column_add'));
175
+ add_filter('manage_sites_custom_column', array(&$this, 'column_value'), 100, 3);
176
  }
177
  }
178