Quantcast
Channel: WordPress.org Forums » [WordPress MU Domain Mapping] Support
Viewing all articles
Browse latest Browse all 3502

Julio Potier on "[Plugin: WordPress MU Domain Mapping] function dm_redirect_admin() fails on admin-post.php"

$
0
0

Hello

in function dm_redirect_admin() i can read this:

if ( strpos( $_SERVER['REQUEST_URI'], 'wp-admin/admin-ajax.php' ) !== false )
		return;

but what about admin-post.php ?

Please replace the code with this:

if ( strpos( $_SERVER['REQUEST_URI'], 'wp-admin/admin-ajax.php' ) !== false || strpos( $_SERVER['REQUEST_URI'], 'wp-admin/admin-post.php' ) !== false )
		return;

thank you

ps : seriously do it, i just hacked the plugin core in a client website! thanks ;)

https://wordpress.org/plugins/wordpress-mu-domain-mapping/


Viewing all articles
Browse latest Browse all 3502

Trending Articles