Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    It has to have the slash to match. When it is going through the url structure it would first look for http://localhost/rtv/wp-admin/index.php. Then it would look for http://localhost/rtv/wp-admin/. If you have a filter in place with the permalink http://localhost/rtv/wp-admin/ and have checked the also affect children checkbox then it should work.

    Thread Starter gonbasaldua

    (@gonbasaldua)

    Ok, i’ve tried that because i read your answer here

    Maybe is our WordPress Version? 3.6.1 and we got your plugin latest version.

    Everything else is working except that. Too bad, anyway thanks!

    Plugin Author Jeff Sterup

    (@foomagoo)

    Actually no that doesn’t work in the current version. Apparently I haven’t tested that in awhile and it has stopped working. I have a fix for it and will release a new version soon.

    Thread Starter gonbasaldua

    (@gonbasaldua)

    Ok great, i’ll wait for the fix. If there is a fast solution that i can change on the plugin let me know.

    Thanks Jeff

    Thread Starter gonbasaldua

    (@gonbasaldua)

    PluginOrganizerMU.class.php on line 99 i change from:
    $endChar = ”;
    to
    $endChar = ‘/’;

    and it start to work well, at least on all tests i’ve done.

    Its a good fix or that will break something else?

    Plugin Author Jeff Sterup

    (@foomagoo)

    Yep. Basically I need to fix the if statement right below that. I’ll have the fix out later today or tomorrow.

    Thread Starter gonbasaldua

    (@gonbasaldua)

    Great! Please let me know.
    Something i notice is that with my “fix”, all plugins that calls “/wp-admin/admin-ajax.php” got problems. Is there a way to leave admin-ajax out of the filter?

    Plugin Author Jeff Sterup

    (@foomagoo)

    Add a filter for admin-ajax.php.

    Plugin Author Jeff Sterup

    (@foomagoo)

    I have released the fix for this problem. Download version 5.5 and let me know if it works for you.

    Thread Starter gonbasaldua

    (@gonbasaldua)

    Thanks for all Jeff, using it right now.
    And I also add this on line 30 of PluginOrganizarMU

    $adminurl = preg_replace(‘#^https?://#’, ”, rtrim(get_admin_url(),’/’));
    if ($this->requestedPermalink!=”.$adminurl.’/admin-ajax.php’…….

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Disable on Admin’ is closed to new replies.