[buddypress-trac] [BuddyPress Trac] #6574: Attachment API conflicts with wp_enqueue_media()
buddypress-trac
noreply at wordpress.org
Mon Aug 3 18:44:08 UTC 2015
#6574: Attachment API conflicts with wp_enqueue_media()
---------------------------+-----------------------
Reporter: landwire | Owner: imath
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 2.3.3
Component: API - Avatars | Version: 2.3.2
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+-----------------------
Changes (by imath):
* keywords: => has-patch
* owner: => imath
* status: new => assigned
* milestone: Awaiting Review => 2.3.3
Comment:
Thanks for your feedback @landwire. I confirm and was able to reproduce.
My bad :(
I think we have two ways to fix this : rename `bp.Uploader` to something
different eg: `bp.bpUploader`. Or only take what we need from the
`window.wp` global. I'm suggesting this second way because there are at
least two plugins extending the Avatar UI (2 of my plugins) and there
could be others.
I've tested 6574.patch and it seems to fix the issue. I think we should
fix it for 2.3.3.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6574#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list