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

WordPress Trac noreply at wordpress.org
Fri Nov 9 22:47:38 UTC 2012


#22400: Remove all, or at least most, uses of extract() within WordPress
----------------------------+-------------------------
 Reporter:  Viper007Bond    |       Type:  enhancement
   Status:  new             |   Priority:  lowest
Milestone:  Future Release  |  Component:  General
  Version:  3.4.2           |   Severity:  minor
 Keywords:  needs-patch     |
----------------------------+-------------------------
 `extract()` is a terrible function that makes code harder to debug and
 harder to understand. We should discourage it's use and remove all of our
 uses of it.

 Joseph Scott has [http://josephscott.org/archives/2009/02/i-dont-like-
 phps-extract-function/ a good write-up of why it's bad].

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


More information about the wp-trac mailing list