[wp-trac] [WordPress Trac] #22594: Media: Rename 'id' to 'state' in menu item view

WordPress Trac noreply at wordpress.org
Mon Nov 26 19:49:27 UTC 2012


#22594: Media: Rename 'id' to 'state' in menu item view
-------------------------+--------------------------
 Reporter:  koopersmith  |       Type:  defect (bug)
   Status:  new          |   Priority:  normal
Milestone:  3.5          |  Component:  Media
  Version:  trunk        |   Severity:  normal
 Keywords:               |
-------------------------+--------------------------
 The `MenuItem` view leverages an `id` that is tied to the state that it
 will activate. However, a view's `id` is also tied to the id attribute on
 the element it creates, and we don't want to set that attribute, as
 multiple instances of media can exist on a page.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22594>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list