[wp-trac] [WordPress Trac] #38073: Goodbye wp_reset_vars()

WordPress Trac noreply at wordpress.org
Mon Mar 27 06:42:42 UTC 2017


#38073: Goodbye wp_reset_vars()
----------------------------------------+------------------------------
 Reporter:  swissspidy                  |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  General                     |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  administration
----------------------------------------+------------------------------

Comment (by patilswapnilv):

 Hello everyone,

 I think this reference helps
 https://developer.wordpress.org/reference/functions/wp_reset_vars/
 I don't know who updated this is, but it says this is used in 5 places,
 within the core.

 I agree that since it works with global values, and carries a good amount
 of risk when used.

 Are we sure we want to depreciate this? Is there anything else we want to
 consider/ check before we do this?

 Thanks,

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


More information about the wp-trac mailing list