[wp-trac] [WordPress Trac] #22400: Remove all, or at least most, uses of extract() within WordPress

WordPress Trac noreply at wordpress.org
Fri May 16 15:18:18 UTC 2014


#22400: Remove all, or at least most, uses of extract() within WordPress
-------------------------------------------------+-------------------------
 Reporter:  Viper007Bond                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  4.0
Component:  General                              |     Version:  3.4.2
 Severity:  normal                               |  Resolution:
 Keywords:  westi-likes needs-testing has-patch  |     Focuses:
  needs-unit-tests                               |
-------------------------------------------------+-------------------------

Comment (by wonderboymusic):

 In [changeset:"28448"]:
 {{{
 #!CommitTicketReference repository="" revision="28448"
 Eliminate use of `extract()` in `wp_xmlrpc_server::mw_editPost()`
 (MetaWeblog API, y'all).

 A lot of the extracted variables are overwritten by being explicitly set
 later.
 Only set variables that would otherwise not be present with `compact()` is
 called.

 See #22400.
 }}}

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


More information about the wp-trac mailing list