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.
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!
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.
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
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?
Yep. Basically I need to fix the if statement right below that. I’ll have the fix out later today or tomorrow.
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?
Add a filter for admin-ajax.php.
I have released the fix for this problem. Download version 5.5 and let me know if it works for you.
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’…….