[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 05:13:11 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 wonderboymusic):
In [changeset:"28387"]:
{{{
#!CommitTicketReference repository="" revision="28387"
Eliminate use of `extract()` in `WP_List_Table::ajax_response()`:
* Extracting `$this->_args` is unnecessary since none of the variables
produced are present in the method.
* `total_items` and `total_pages` can be read directly from
`$this->_pagination_args`
See #22400.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22400#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list