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

WordPress Trac noreply at wordpress.org
Mon Feb 11 18:25:21 UTC 2013


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

Comment (by Cimmo):

 http://plugins.svn.wordpress.org/cimy-user-extra-
 fields/tags/2.4.0/cimy_uef_register.php

 {{{
 function cimy_change_signup_location($url) {
         global $blog_id, $current_site, $cimy_uef_plugins_dir;

         if ($cimy_uef_plugins_dir == "plugins")
                 $attribute = "?blog_id=".$blog_id;
         else
                 $attribute = "";

         return "http://" . $current_site->domain . $current_site->path .
 "wp-signup.php".$attribute;
 }
 }}}


 Hook is in:
 http://plugins.svn.wordpress.org/cimy-user-extra-
 fields/tags/2.4.0/cimy_user_extra_fields.php

 {{{
 // add filter to modify signup URL for WordPress MU where plug-in is
 installed per blog
 add_filter('wp_signup_location', 'cimy_change_signup_location');
 }}}


 My workaround applied since v2.4.1 of the plug-in is to not use 'blog_id'
 as GET paramete after WordPress 3.5

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


More information about the wp-trac mailing list