Broken on new versions of WordPress
-
Hi,
I didn’t check changelog of recent WordPress versions but it seems that hook suffix changed ont “Users” backend page.
Old : “users_page_users” . (your part) “-user-role-editor”
New : “admin_page_users” . (your part) “-user-role-editor”Result is javascript doesn’t load on “User Role Editor” page, impossible to change role, add new role, etc…
See “includes/classes/user-role-editor.php” on line 39 – 45 for suffix definitions and line 860 for exploitation.Hotfix for recent WP versions is to modify the suffixes on line 39 – 45 from “users” to “admin”.
Best fix would be to set suffix according WordPress version.Yours Faithfully,
Birmania
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Broken on new versions of WordPress’ is closed to new replies.