[wp-trac] [WordPress Trac] #22249: Add ability to set or remove attributes on enqueued scripts and styles.

WordPress Trac noreply at wordpress.org
Tue Jan 2 10:08:03 UTC 2018


#22249: Add ability to set or remove attributes on enqueued scripts and styles.
-------------------------------------------------+-------------------------
 Reporter:  ryanve                               |       Owner:
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Script Loader                        |  Release
 Severity:  normal                               |     Version:
 Keywords:  needs-refresh early has-patch        |  Resolution:
  needs-testing                                  |     Focuses:
-------------------------------------------------+-------------------------

Comment (by mihai2u):

 @joe_bopper
 I attempted to apply the patch, but it got 3 rejects:

 ? Please select a patch to apply 22249.7.diff​ (16.3 KB) - added by
 joe_bopper 15 months ago.
 patching file src/wp-includes/class.wp-scripts.php
 Hunk # 2 FAILED at 347.
 patching file src/wp-includes/class.wp-styles.php
 Hunk # 2 FAILED at 217.
 patching file src/wp-includes/functions.wp-scripts.php
 Hunk # 4 FAILED at 291.

 I'm interested in helping out with the testing this, as it's a useful
 feature which can help a lot with the websites perceived performance in
 hands of capable developers.

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


More information about the wp-trac mailing list