[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:53:29 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 Release
Component:  Script Loader                  |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  early has-patch needs-testing  |     Focuses:
-------------------------------------------+-----------------------------
Changes (by mihai2u):

 * keywords:  needs-refresh early has-patch needs-testing => early has-patch
     needs-testing


Comment:

 I was able to apply the patch correctly on WordPress 4.7-alpha and got
 both esc-attr-name​.diff and 22249.7.diff patches to it to allow for
 easier development / testing.

 I encountered some conflicts when refreshing to the latest Wordpress
 version, but they were fairly easy to solve
 https://github.com/xwp/wordpress-develop/pull/304

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


More information about the wp-trac mailing list