[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 14:52:05 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:"28447"]:
 {{{
 #!CommitTicketReference repository="" revision="28447"
 Eliminate use of `extract()` in `validate_blog_signup()`:

 * `$orig_username` does not need to be pulled from
 `wpmu_validate_user_signup()` as it is not used in this function.
 * `$user` does not need to be pulled from `wpmu_validate_blog_signup()` as
 it is not used in this function.
 * For the `wpmu_validate_user_signup()` portion, rename `$result` and
 `$errors` to $user_result` and `$user_errors` for disambiguation with the
 blog values below.

 See #22400.
 }}}

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


More information about the wp-trac mailing list