[wp-trac] [WordPress Trac] #26886: wp_enqueue_script doesn't load all scripts

WordPress Trac noreply at wordpress.org
Fri Oct 17 10:35:33 UTC 2014


#26886: wp_enqueue_script doesn't load all scripts
-------------------------------+-------------------------
 Reporter:  alfredocubitos     |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Script Loader      |     Version:  3.8
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-------------------------
Changes (by kraterdesign):

 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 Hi dd32, you sir, are of course correct and I stand humbly corrected. I
 had not looked farther down the line.

 I looked into it some more and it turns out I was having a plugin conflict
 between Option-Tree (in particular the scripts for custom meta boxes) and
 BirchPress Business that '''seemed''' solved by doing

 {{{define('CONCATENATE_SCRIPTS', false);}}}

 so I ended up blaming the wrong thing. Sorry. I solved it properly by
 preventing the loading of OT scripts on BP post type pages.

 Why the lack of concatenation in this conflict case prevented any JS
 errors I was otherwise seeing, I have not investigated further.

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


More information about the wp-trac mailing list