Make WordPress Core


Ignore:
Timestamp:
09/18/2015 06:52:48 PM (10 years ago)
Author:
wonderboymusic
Message:

Don't use HTML tags in translation strings in edit-tags.php.

Props ramiy.
Fixes #31863.

File:
1 edited

Legend:

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

    r34202 r34303  
    335335<p>
    336336    <?php
    337     /** This filter is documented in wp-includes/category-template.php */
    338     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') ) ) );
     337    echo '<strong>' . __( 'Note:' ) . '</strong><br>';
     338    printf(
     339        /* translators: default category */
     340        __( '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.' ),
     341        /** This filter is documented in wp-includes/category-template.php */
     342        '<strong>' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) . '</strong>'
     343    );
    339344    ?>
    340345</p>
Note: See TracChangeset for help on using the changeset viewer.