• When you put Reset next to other buttons, people automatically assume it only resets the changes made under that user role. Nobody reads some small popup asking you to confirm to reset your whole wordpress!

    Anyway, I am in that situation now and really really regretting installing your plugin.

    I uninstalled and installed all my plugins and most of them I now have access but not wpml, is there any easy way to get it back into menu?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter collinsavenue

    (@collinsavenue)

    Nevermind, this nippet fixed it.

    function wpmlsupp_1706_reset_wpml_capabilities() {
        if ( function_exists( 'icl_enable_capabilities' ) ) {
            icl_enable_capabilities();
        }
    }
    add_action( 'shutdown', 'wpmlsupp_1706_reset_wpml_capabilities' );

    But yea man, put some bells and whistles on that popup window with double confirmation or something.

    Plugin Author Vladimir Garagulya

    (@shinephp)

    It’s useful to read a critical information some time.

    Thanks for the suggestion. I plan to move the ‘Reset’ button to a separate ‘Tools’ page with description on a page and 2nd level warning with popup confirmation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Recover WPML menu?’ is closed to new replies.