[wp-trac] [WordPress Trac] #38073: Deprecate and replace wp_reset_vars()

WordPress Trac noreply at wordpress.org
Tue Apr 30 12:56:33 UTC 2024


#38073: Deprecate and replace wp_reset_vars()
-------------------------+-----------------------------
 Reporter:  swissspidy   |       Owner:  davideferre
     Type:  enhancement  |      Status:  assigned
 Priority:  low          |   Milestone:  6.6
Component:  General      |     Version:  4.9
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration
-------------------------+-----------------------------
Changes (by audrasjb):

 * keywords:  good-first-bug has-patch => has-patch
 * milestone:  Future Release => 6.6


Comment:

 > According to https://wpdirectory.net/search/01HWQEZAZ2VMB65S0FBX80HNZB
 there are some plugins using the function in their custom list tables. So
 maybe we shouldn't deprecate the function. We should still remove its
 usage in core though.

 That's not so many plugins, but still quite a number; not including custom
 developments.

 The rest of the patch looks good on my side but I think deprecating the
 function should be committed early and go with an early Make/Core dev
 note. (and if doable by the Plugin team a direct communication to plugin
 owners?)

 If we don't deprecated the function then we do not have to hurry to commit
 the change early and can let it soak a bit if needed.

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


More information about the wp-trac mailing list