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.


Built from https://develop.svn.wordpress.org/trunk@43663


git-svn-id: http://core.svn.wordpress.org/trunk@43492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2018-10-01 21:56:25 +00:00
parent 8cb735fb5f
commit dd1cc2683e
2 changed files with 4 additions and 3 deletions

View File

@ -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' ) ) : ?>

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-43662';
$wp_version = '5.0-alpha-43663';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.