custom-metadata icon indicating copy to clipboard operation
custom-metadata copied to clipboard

Conditionally enqueue scripts

Open jkudish opened this issue 12 years ago • 1 comments

Find a way to figure out which fields are loaded on the current page and load scripts conditionally

jkudish avatar Feb 10 '13 21:02 jkudish

There are some not-insignificant performance problems that come about as a result of this, when wp_enqueue_media() is called on sites with large media libraries

Related core tickets: https://core.trac.wordpress.org/ticket/32264 and https://core.trac.wordpress.org/ticket/31071

cfg avatar Jul 29 '15 20:07 cfg