Register link always appears disabled
-
Thanks for your plugin. The login and logout menu items work fine, but the Register one always appears disabled in the menu. To be clear, registration is enabled, and I can add a Register menu item, but on the front end it is greyed out and shows a “no entry” cursor when hovered. However, it actually works – it only *appears* disabled because it is being given class ‘disabled’. It seems the plugin does this always and I cannot for the life of me understand why it does it, but removing this line, and then removing and reinserting the menu item, fixes it.
--- a/includes/classes/admin/menu-editor.php +++ b/includes/classes/admin/menu-editor.php @@ -74,7 +74,6 @@ class Menu_Editor { array( 'object' => 'register', 'title' => __( 'Register', 'user-menus' ), - 'classes' => array( 'disabled' ), ), array( 'object' => 'logout',
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Register link always appears disabled’ is closed to new replies.