[wp-trac] [WordPress Trac] #11433: Add 'id' argument to wp_dropdown_pages to match 'name' (needed for use in widget settings)

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 20 05:04:38 UTC 2009


#11433: Add 'id' argument to wp_dropdown_pages to match 'name' (needed for use in
widget settings)
--------------------------+-------------------------------------------------
 Reporter:  jeremyclarke  |       Owner:  jeremyclarke           
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  3.0                    
Component:  General       |     Version:  2.9                    
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by filosofo):

 Replying to [comment:3 hakre]:
 > name and id are technically the same.

 I'm not sure why you would say this.  Their definitions and standard data
 types differ (CDATA for name, NAME for id).

 Also, their practical uses differ: if someone wants to have a pages select
 element appear in multiple places in the document, he must change the id
 attribute but not necessarily the name attribute.

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


More information about the wp-trac mailing list