• Hello

    I just come across a conflict with the plugin WZone.

    If WP Hide & Security Enhancer is active, a problem appears in Wzone. I can no longer access some pages in the administration of wzone. The message from wp comes: “Unfortunately, you are not authorized to access this page.”

    I saw that there differences in the called URL is.
    admin.php?page=WooZone_import_stats #fail
    admin.php?page=WooZone#!/import_stats #works

    An idea what could be the reason?

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

    (@yves779)

    I found the problem. WZone starts from “wp-admin” to handle their javascripts.

    
    $current_url = isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : '';
    $current_url = explode("wp-admin/", $current_url);
    if( count($current_url) > 1 ){
    	$current_url = "/wp-admin/" . $current_url[1];
    }else{
    	$current_url = "/wp-admin/" . $current_url[0];
    }
    // [.....]
    $page = substr($page, 0, ($delimiterFound!==false && $delimiterFound > 0 ? $delimiterFound : strlen($page)) );
    $urlfound = preg_match("%^/wp-admin/".($expPregQuote ? preg_quote($page) : $page)."%", $current_url);
    

    Would it be possible to create a compatibility file as it was done for other plugins?

    Plugin Contributor Maya

    (@tdgu)

    Hi,
    Thanks for your feedback. I’ll check further into this for possible compatibility, Still, the WZone shouldn’t hard-code anything in the code, might worth ask if they would change that.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with the wzone plugin’ is closed to new replies.