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

Ron Rennick on "[Plugin: WordPress MU Domain Mapping] Prevent domain mapping if logged in?"

$
0
0

Would it be as easy as just wrapping a bulk of the code in a !is_user_logged_in() ?

No, because the domain lookup happens long before WP can determine if you are logged in. WP has to determine what domain to retrieve the auth cookie from before retrieving said cookie.


Viewing all articles
Browse latest Browse all 3502

Latest Images

Trending Articles



Latest Images