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

WordPress Trac noreply at wordpress.org
Tue Aug 26 11:30:27 UTC 2014


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

Comment (by JoTGi):

 Shouldn't WordPress Codex be updated to not use extract() in the examples?
 For example...

 {{{
 http://codex.wordpress.org/Function_Reference/shortcode_atts
 http://codex.wordpress.org/Function_Reference/wp_parse_args
 http://codex.wordpress.org/Function_Reference/wp_register_sidebar_widget
 }}}

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


More information about the wp-trac mailing list