WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/13/2015 05:30:53 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Rename unused argument and remove obsolete global in iframe_header().

props ipm-frommen.
fixes #31309.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r31442 r31443  
    251251 *
    252252 * @param string $taxonomy Taxonomy to retrieve terms from.
    253  * @param int $default Unused.
     253 * @param int $default Not used.
    254254 * @param int $number Number of terms to retrieve. Defaults to 10.
    255255 * @param bool $echo Optionally output the list as well. Defaults to true.
     
    15281528 * @since 2.7.0
    15291529 * @param string $title Title of the Iframe page.
    1530  * @param bool $limit_styles Limit styles to colour-related styles only (unless others are enqueued).
    1531  *
    1532  */
    1533 function iframe_header( $title = '', $limit_styles = false ) {
     1530 * @param bool $deprecated Not used.
     1531 *
     1532 */
     1533function iframe_header( $title = '', $deprecated = false ) {
    15341534    show_admin_bar( false );
    1535     global $hook_suffix, $current_user, $admin_body_class, $wp_locale;
     1535    global $hook_suffix, $admin_body_class, $wp_locale;
    15361536    $admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
    15371537
Note: See TracChangeset for help on using the changeset viewer.