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

WordPress Trac noreply at wordpress.org
Wed Aug 7 21:56:23 UTC 2013


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

 * keywords:  3.6-early westi-likes needs-testing needs-patch => westi-likes
     needs-testing needs-patch


Comment:

 [attachment:22400.wp-activate.php.2.diff​] is a refreshed patch to clear
 `extract()` from `src/wp-activate.php`

 The use was with returned data from `wpmu_activate_signup()` which returns
 an array containing blog_id, user_id, password, title, and meta.
 `$blog_id`, `$user_id`, and `$password` are all accounted for in the
 patch. `wp-activate.php` did not make use of title or meta.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/22400#comment:29>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list