Rename unused argument and remove obsolete global in `iframe_header()`.
props ipm-frommen. fixes #31309. Built from https://develop.svn.wordpress.org/trunk@31443 git-svn-id: http://core.svn.wordpress.org/trunk@31424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
268d79cb77
commit
5a0b01edf1
|
@ -250,7 +250,7 @@ function wp_terms_checklist( $post_id = 0, $args = array() ) {
|
|||
* @since 2.5.0
|
||||
*
|
||||
* @param string $taxonomy Taxonomy to retrieve terms from.
|
||||
* @param int $default Unused.
|
||||
* @param int $default Not used.
|
||||
* @param int $number Number of terms to retrieve. Defaults to 10.
|
||||
* @param bool $echo Optionally output the list as well. Defaults to true.
|
||||
* @return array List of popular term IDs.
|
||||
|
@ -1527,12 +1527,12 @@ function _admin_search_query() {
|
|||
*
|
||||
* @since 2.7.0
|
||||
* @param string $title Title of the Iframe page.
|
||||
* @param bool $limit_styles Limit styles to colour-related styles only (unless others are enqueued).
|
||||
* @param bool $deprecated Not used.
|
||||
*
|
||||
*/
|
||||
function iframe_header( $title = '', $limit_styles = false ) {
|
||||
function iframe_header( $title = '', $deprecated = false ) {
|
||||
show_admin_bar( false );
|
||||
global $hook_suffix, $current_user, $admin_body_class, $wp_locale;
|
||||
global $hook_suffix, $admin_body_class, $wp_locale;
|
||||
$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
|
||||
|
||||
$current_screen = get_current_screen();
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31442';
|
||||
$wp_version = '4.2-alpha-31443';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue