WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/03/2017 04:12:25 PM (3 years ago)
Author:
johnbillion
Message:

General: Fix more instances of inconsistent parameters passed to various filters, plus fix some filter docs.

See #38462, #41017

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tags.php

    r40655 r41221  
    545545        __( 'Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category %s.' ),
    546546        /** This filter is documented in wp-includes/category-template.php */
    547         '<strong>' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) . '</strong>'
     547        '<strong>' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ), '', '' ) . '</strong>'
    548548    );
    549549    ?>
Note: See TracChangeset for help on using the changeset viewer.