[wp-trac] [WordPress Trac] #22249: Add ability to set or remove attributes on enqueued scripts and styles.
WordPress Trac
noreply at wordpress.org
Wed Oct 27 01:12:07 UTC 2021
#22249: Add ability to set or remove attributes on enqueued scripts and styles.
-------------------------------------------+-----------------------------
Reporter: ryanve | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: early has-patch needs-testing | Focuses:
-------------------------------------------+-----------------------------
Comment (by emrancu):
@adamsilverstein Thank you so much for your response.
We need to add custom attributes in the admin-end (also front-end) and
also to specific js file.
When do you add this support directly to wp_enqueue_script ? Maximum
developers waiting for this feature, are using React, Vue, Vite, and
Others JS (Modern JS).
Recently I am developing an open-source plugin development framework
(https://www.wppluginmaster.com), where I need to add this support.
@adamsilverstein, I need to know that any problem with my pull request ?
Please tell me, it will help me to better understand. I am new to
WordPress and new in contribution.
Thanks
❤️WordPress
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22249#comment:60>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list