[wp-trac] [WordPress Trac] #22400: Remove all, or at least most, uses of extract() within WordPress
WordPress Trac
noreply at wordpress.org
Tue May 13 15:36:25 UTC 2014
#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 has-patch | Resolution:
| Focuses:
-------------------------------------------------+-------------------------
Comment (by jmlapam):
Replying to [comment:49 rzen]:
>That said, unless you're doing something really strange within your
shortcode function that somehow makes use of ''all'' available variables,
or you're using global variables which could be overridden, you need not
be too concerned about users passing in something that will be extracted.
Even so, you'll be happier without extract. :)
Thanks for all the details. What about shortcodes used in menus and text
widgets?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22400#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list