WordPress.org

Make WordPress Core

Changeset 28211


Ignore:
Timestamp:
04/25/14 06:42:21 (4 years ago)
Author:
DrewAPicture
Message:

Ensure adjacency of a duplicate hook comment for a the_category filter call.

See #26869.

File:
1 edited

Legend:

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

    r27720 r28211  
    337337<?php if ( 'category' == $taxonomy ) : ?> 
    338338<div class="form-wrap"> 
    339 <?php /** This filter is documented in wp-includes/category-template.php */ ?> 
    340 <p><?php printf(__('<strong>Note:</strong><br />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 <strong>%s</strong>.'), apply_filters('the_category', get_cat_name(get_option('default_category')))) ?></p> 
     339<p> 
     340    <?php 
     341    /** This filter is documented in wp-includes/category-template.php */ 
     342    printf( __( '<strong>Note:</strong><br />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 <strong>%s</strong>.' ), apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) ); 
     343    ?> 
     344</p> 
    341345<?php if ( current_user_can( 'import' ) ) : ?> 
    342346<p><?php printf(__('Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.'), 'import.php') ?></p> 
Note: See TracChangeset for help on using the changeset viewer.