Make WordPress Core

Ticket #43800: 43800.6.diff

File 43800.6.diff, 1.1 KB (added by joanrho, 6 years ago)

Remove "Note:" text to align with the descriptive text styles on the Tags page and reintroduce paragraphs to clarify and separate the two different topics.

  • src/wp-admin/edit-tags.php

    diff --git a/src/wp-admin/edit-tags.php b/src/wp-admin/edit-tags.php
    index b0827af69a..5ab4cac567 100644
    a b if ( current_user_can( $tax->cap->edit_terms ) ) { 
    581581<div class="form-wrap edit-term-notes">
    582582<p>
    583583        <?php
    584         echo '<strong>' . __( 'Note:' ) . '</strong><br />';
    585584        printf(
    586585                /* translators: %s: default category */
    587586                __( '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.' ),
    if ( current_user_can( $tax->cap->edit_terms ) ) { 
    591590        ?>
    592591</p>
    593592        <?php if ( current_user_can( 'import' ) ) : ?>
    594 <p><?php printf( __( 'Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.' ), esc_url( $import_link ) ); ?></p>
     593        <p>
     594                <?php printf( __( 'Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.' ), esc_url( $import_link ) ); ?>
     595        </p>
    595596        <?php endif; ?>
    596597</div>
    597598<?php elseif ( 'post_tag' == $taxonomy && current_user_can( 'import' ) ) : ?>