[wp-trac] [WordPress Trac] #51200: Consider a better way to deprecate JavaScript code

WordPress Trac noreply at wordpress.org
Mon Aug 31 21:30:53 UTC 2020


#51200: Consider a better way to deprecate JavaScript code
----------------------------+-----------------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Script Loader   |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  javascript, administration
----------------------------+-----------------------------------------

Comment (by youknowriad):

 In terms of code, I think the deprecated package is the way to go here IMO
 (available as `wp-deprecated` script on Core), it was created for this
 purpose. that said, I'd love a clear strategy about when code should be
 removed.

 I encourage you to bring this as a topic to #core-js meetings.

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


More information about the wp-trac mailing list