[wp-trac] [WordPress Trac] #22400: Remove all, or at least most, uses of extract() within WordPress
WordPress Trac
noreply at wordpress.org
Thu May 15 19:41:42 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:
-------------------------------------------------+--------------------
Comment (by wonderboymusic):
In [changeset:"28440"]:
{{{
#!CommitTicketReference repository="" revision="28440"
Eliminate use of `extract()` in `wp_widget_rss_output()`.
Add `'items' => 0` to `$default_args`. When `0`, the value is set to `10`
(the fallback).
Every other default arg has a default value of `0`.
`items` is expected to always be passed to this function.
See #22400.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22400#comment:97>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list