User Registration Table (Admin) Showing Incorrect Post Types
-
I have the User Registration plugin installed on a site, and when it’s installed alone, the User Registration table shown at /wp-admin/admin.php?page=user-registration shows up correctly. However, I also have the plugin Modern Events Calendar Lite installed, and when that’s activated, the User Registration table no longer shows the User Registration forms, but rather, all blog posts and Modern Events Calendar events. (It’s not pulling in any other custom post types — just “post” and “mec_events”.)
I am not a developer, but I did stumble on a duct-tape fix to the problem, as long as it doesn’t cause any other conflicts. (Which so far, it doesn’t seem to, but as I said, I’m not a developer at all.)
I commented out line 381 of /includes/admin/class-ur-admin-registrations-table-list.php
// $args[‘s’] = isset( $_REQUEST[‘s’] ) ? wp_unslash( trim( $_REQUEST[‘s’] ) ) : ”;
Doing this seems to resolve my issue. Can someone from WPEverest confirm that this bug exists, that this temporary fix will work (and not break anything else), and perhaps put a more permanent fix to the bug in the next update of the User Registrations plugin?
Thanks!
The topic ‘User Registration Table (Admin) Showing Incorrect Post Types’ is closed to new replies.