[wp-trac] [WordPress Trac] #43384: wp_enqueue_script:require authors to document these in the readme.txt file or style.css for example
WordPress Trac
noreply at wordpress.org
Thu Feb 22 12:52:48 UTC 2018
#43384: wp_enqueue_script:require authors to document these in the readme.txt file
or style.css for example
-----------------------------+------------------------------
Reporter: design_dolphin | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Resolution: invalid
Keywords: | Focuses:
-----------------------------+------------------------------
Changes (by danieltj):
* status: new => closed
* focuses: javascript, template, performance, coding-standards =>
* resolution: => invalid
Comment:
Hi, welcome to Core Trac! :)
This site is for WordPress Core, anything related to the plugin directory
is more Meta Trac territory however this isn't something that really fits
into a Meta issue because it comes down to how plugin authors build their
plugins.
Plugins in general should allow lazy loading to be turned off rather than
forcing it on, Jetpack gives people a setting for this making it optional.
The easiest thing to do is to just search for `wp_enqueue_script` in the
new plugin files and then dequeuing the ones you don't want.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43384#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list