[buddypress-trac] [BuddyPress Trac] #6574: Attachment API conflicts with wp_enqueue_media()

buddypress-trac noreply at wordpress.org
Thu Aug 13 09:52:57 UTC 2015


#6574: Attachment API conflicts with wp_enqueue_media()
---------------------------+-----------------------
 Reporter:  landwire       |       Owner:  imath
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  2.4
Component:  API - Avatars  |     Version:  2.3.2
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |
---------------------------+-----------------------

Comment (by imath):

 From the `window.wp` global we only need the `Backbone`, `ajax` and
 `template` attributes.

 So i'm suggesting 6574.02.patch which makes sure, we only get what we need
 from `window.wp` without adding any new attribute to it. In other words
 `window.wp` will remain unchanged.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6574#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list