[buddypress-trac] [BuddyPress Trac] #6893: Buddypress Avatar Upload Error
buddypress-trac
noreply at wordpress.org
Fri Feb 12 05:37:58 UTC 2016
#6893: Buddypress Avatar Upload Error
------------------------------+-------------------------
Reporter: christopherwayne | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: API - Avatars | Version: 2.4.0
Severity: normal | Resolution: worksforme
Keywords: |
------------------------------+-------------------------
Changes (by imath):
* status: new => closed
* severity: major => normal
* priority: highest => normal
* milestone: 2.4.4 =>
* keywords: reporter-feedback =>
* resolution: => worksforme
Comment:
Ok, on your site we have 2 problems:
1/ W3 Total Cache
[[Image(https://cldup.com/o9NZcbMUd5.png)]]
If the checkbox *Inline JS minification* is checked in WP Admin >
Performance > Minify, this plugin will prepend our Javascript templates
with `/*<![CDATA[*/` and append it with `/*]]>*/` .
[[Image(https://cldup.com/qWB6ZTfP0h.png)]]
This is causing the avatar UI to fail. So i've disabled this checkbox on
your site like illustrated on the screenshot above. Ideally if this plugin
could avoid doing the *inline JS mininification* for scripts tag having
their type attribute set to "text/html" that would be great :)
Once this setting has been disabled i have:
[[Image(https://cldup.com/wjFunDOrlR.png)]]
But then the cropping step fails... Because of Lazy Load !
2/ Lazy Load plugin: this plugin is making the cropping step to fail. So
i've deactivated it. Unless this plugin gives us a way to tell him don't
play here (like a specific class or something) i don't see how to deal
with it else than not use it :(
A possible way could be to dequeue the lazy load script if on the change-
avatar page..
Once Lazy load is deactivated :
[[Image(https://cldup.com/tdwaBTIKE1.png)]]
Everything works as expected.
So imho BuddyPress is not responsible for these troubles, as you can see.
So i think we can close this ticket. Thanks for your feedback.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6893#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list