Support » Plugin: Aspexi Easy Login URL » Flush Rewrite Rules code correction

  • Resolved AITpro

    (@aitpro)


    This needs to be fixed. Thanks.

    By doing this generalized check for if any plugin saves its settings you wipe out/delete the root .htaccess file code whenever ANY plugin settings are saved. Typically flush rewrite rules should ONLY be used on plugin activation and deactivation. Please correct this. Thank you.

    // Init stuff
            function init() {
                if ('true' == @$_REQUEST['settings-updated']) {
                    global $wp_rewrite;
    				$wp_rewrite->flush_rules();
                }
            }

    http://wordpress.org/plugins/aspexi-easy-login-url/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Flush Rewrite Rules code correction’ is closed to new replies.