[wp-trac] [WordPress Trac] #22400: Remove all, or at least most, uses of extract() within WordPress
WordPress Trac
noreply at wordpress.org
Fri May 16 21:08:16 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:
needs-unit-tests |
-------------------------------------------------+-------------------------
Comment (by wonderboymusic):
In [changeset:"28460"]:
{{{
#!CommitTicketReference repository="" revision="28460"
The cache key for comments in `WP_Comment_Query::query()` needs to do
`wp_array_slice_assoc( $this->query_vars, array_keys( $defaults ) )`
instead of `compact( array_keys( $defaults ) )`. The latter assumes all of
those variables are still floating around.
See #22400.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22400#comment:114>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list