[wp-trac] [WordPress Trac] #23443: Change in behaviour of 'wp_signup_location' filter since WordPress 3.5

WordPress Trac noreply at wordpress.org
Tue Feb 19 03:47:36 UTC 2013


#23443: Change in behaviour of 'wp_signup_location' filter since WordPress 3.5
-------------------------------+-------------------------
 Reporter:  Cimmo              |       Owner:
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Multisite          |     Version:  3.5.1
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |
-------------------------------+-------------------------

Comment (by Cimmo):

 All right, I figured it out, the problem is in MY code,
 cimy_uef_mu_activation.php placed under /wp-content/mu-plugins (as per my
 doc) is the one switching the blog when 'blog_id' is encountered.
 Then is_main_site() finally returns false. Not on WP 3.4 or earlier
 though, which I believe was a bug before.
 cimy_uef_mu_activation.php is needed because when activating a blog/user
 you disable all plug-ins, but not the one under 'mu-plugins' directory,
 which then jeopardize plug-ins like mine that works during the
 registration.
 If you have a better suggestion I'll take it.

 So I really apologize for this, it was indeed a change in behaviour in
 your code, triggered by my code though. I probably still believe you did
 the right thing (fixing is_main_site() that basically was always returning
 false with no parameters) and I did not understand it fully at the
 beginning. Sorry for the report.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23443#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list