[wp-trac] [WordPress Trac] #15389: Make New Site & New User Network form pluggable.

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 11 17:23:31 UTC 2010


#15389: Make New Site & New User Network form pluggable.
---------------------------+------------------------------------------------
 Reporter:  ptahdunbar     |       Owner:                 
     Type:  defect (bug)   |      Status:  new            
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Network Admin  |     Version:  3.1            
 Severity:  normal         |    Keywords:  has-patch      
---------------------------+------------------------------------------------

Comment(by ptahdunbar):

 Alternatively, we could just have this within the forms:

 {{{
 do_settings_fields( 'wpms_new_site', 'default' );
 }}}

 Then:
 {{{
 add_settings_field( 'twitter-id', 'Twitter username',
 'wpms_twitter_callback', 'wpmu_new_site', 'default' );
 }}}

 Which works, but that's only using half of the settings API as it won't
 make use of register_setting() (you'd have to handle form processing on
 your own).

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


More information about the wp-trac mailing list