Make WordPress Core

Ticket #31309: 31309.patch

File 31309.patch, 1.6 KB (added by ipm-frommen, 10 years ago)
  • wp-admin/includes/template.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    250250 * @since 2.5.0
    251251 *
    252252 * @param string $taxonomy Taxonomy to retrieve terms from.
    253  * @param int $default Unused.
     253 * @param int $unused Unused.
    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.
    256256 * @return array List of popular term IDs.
    257257 */
    258 function wp_popular_terms_checklist( $taxonomy, $default = 0, $number = 10, $echo = true ) {
     258function wp_popular_terms_checklist( $taxonomy, $unused = 0, $number = 10, $echo = true ) {
    259259        $post = get_post();
    260260
    261261        if ( $post && $post->ID )
     
    15271527 *
    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).
     1530 * @param bool $unused Unused.
    15311531 *
    15321532 */
    1533 function iframe_header( $title = '', $limit_styles = false ) {
     1533function iframe_header( $title = '', $unused = 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
    15381538        $current_screen = get_current_screen();