Taxonomy: Remove the "Note" label from the notes on the Category edit list.
There are notes on both the Tag and Category pages, but only the latter prefixes it with a "Note" label. Props joanrho, pratikthink, jainnidhi. Fixes #43800. git-svn-id: https://develop.svn.wordpress.org/trunk@43663 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a386f726da
commit
75c7cb5acf
@ -581,7 +581,6 @@ if ( current_user_can( $tax->cap->edit_terms ) ) {
|
||||
<div class="form-wrap edit-term-notes">
|
||||
<p>
|
||||
<?php
|
||||
echo '<strong>' . __( 'Note:' ) . '</strong><br />';
|
||||
printf(
|
||||
/* translators: %s: default category */
|
||||
__( '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.' ),
|
||||
@ -591,7 +590,9 @@ if ( current_user_can( $tax->cap->edit_terms ) ) {
|
||||
?>
|
||||
</p>
|
||||
<?php if ( current_user_can( 'import' ) ) : ?>
|
||||
<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>
|
||||
<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>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php elseif ( 'post_tag' == $taxonomy && current_user_can( 'import' ) ) : ?>
|
||||
|
Loading…
Reference in New Issue
Block a user