WP Minify causing problems with avatar crop: solution
Hello, all. Long time lurker, first time poster.
I just want to say up front that I am far from a technical expert on things related to WordPress/BuddyPress. I know my way around PHP just about well enough to break 3 major site functions in the process of hacking a single minor one. However, after 2 hours spent on these forums and Google looking for a solution to my problem, I finally fixed it on my own. The fact that I couldn’t find a solution on the interwebs means either a) it was such an obvious solution no one else bothered to ask, or b) the Google is not strong with me, but on the off chance that there’s someone else out there who is having or will have (if you’ve had it, I can’t do anything about that unless you can travel in time) this problem and can’t figure it out, I’m posting my Mr. Obvious solution here.
The solution: In the general options for WP-Minify, there are text boxes for js files, css files, and URIs to exclude from the minification process (it sounds all diabolical when I call it minification). Simply put the path to the Jcrop script (wp-includes/js/jcrop/jquery.Jcrop.js) in that text box and save your settings. Then, to be safe, I manually cleared the WP-M cache as well as my browser cache. One browser crash later (because I’m running the bleeding-edge build of Chromium to use my non-admin testing account) and reloading the page and, voila, avatar crop re-enabled.
Feel free to point and laugh.
- The topic ‘WP Minify causing problems with avatar crop: solution’ is closed to new replies.