Custom Columns Filter
-
Thanks for the plugin, there are a couple of things I thought you’d want to know about:
1. This filter:
add_filter(‘manage_users_custom_column’,’simplr_column_output’,10,3);
is blocking other plugins from printing custom content. I believe the simplr_column_output function should probably be checking for its own column name and only change the output in that case. Otherwise, you’re returning a blank string for all other custom columns.
2. Minor, but it’d be great to clean up the code producing these notices by checking for the property’s existence before trying to access them
NOTICE: wp-content/plugins/simplr-registration-form/simplr_reg_page.php:212 - Undefined index: page NOTICE: wp-content/plugins/simplr-registration-form/simplr_reg_page.php:591 - Undefined index: query NOTICE: wp-content/plugins/simplr-registration-form/simplr_reg_page.php:592 - Undefined property: stdClass::$login_redirect NOTICE: wp-content/plugins/simplr-registration-form/simplr_reg_page.php:163 - Undefined index: page NOTICE: wp-content/plugins/simplr-registration-form/simplr_reg_page.php:252 - Undefined property: stdClass::$mod_on NOTICE: wp-content/plugins/simplr-registration-form/simplr_reg_page.php:893 - Undefined index: orderbyTurn on WP_DEBUG to see the error output.
Thanks for the plugin!
Chris
The topic ‘Custom Columns Filter’ is closed to new replies.