[wp-trac] [WordPress Trac] #43536: Network registration page

WordPress Trac noreply at wordpress.org
Fri Jul 29 01:23:57 UTC 2022


#43536: Network registration page
------------------------------------+--------------------------
 Reporter:  SGr33n                  |       Owner:  sabernhardt
     Type:  defect (bug)            |      Status:  accepted
 Priority:  normal                  |   Milestone:  6.1
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch               |     Focuses:  multisite
------------------------------------+--------------------------

Comment (by sabernhardt):

 On #40361, @afercia suggested adding a class to distinguish each of the
 screens. The `stage` variable may not be good enough, but if it is, the
 signup body classes function could be like this:

 {{{
 function wpmu_signup_body_class( $classes ) {
         $stage_class = isset( $_POST['stage'] ) ? $_POST['stage'] : 'wp-
 signup-default';
         $classes[]   = 'wp-signup ' . $stage_class;

         return $classes;
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43536#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list