[wp-trac] [WordPress Trac] #29520: WP 4.0 "add media" button on edit page not functioning

WordPress Trac noreply at wordpress.org
Mon Sep 8 21:51:52 UTC 2014


#29520: WP 4.0 "add media" button on edit page not functioning
-------------------------------------+-------------------------------------
 Reporter:  lcody                    |       Owner:
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  4.0.1
Component:  Media                    |     Version:  4.0
 Severity:  major                    |  Resolution:
 Keywords:  needs-patch dev-         |     Focuses:  ui, javascript,
  feedback                           |  administration
-------------------------------------+-------------------------------------

Comment (by azaozz):

 Replying to [comment:13 ericlewis]:
 > We need awareness in Javascript whether we're on the media grid page vs.
 any other page (including the Media list page).

 As the media grid still uses `<div class="wrap">` as the "main wrapper",
 we can easily add an ID to it from PHP and look for that from JS. Don't
 think it would need anything more complex.

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


More information about the wp-trac mailing list