Changeset 48352 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 07/06/2020 09:50:23 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r48292 r48352 333 333 if ( current_user_can( 'delete_post', $post_id ) ) { 334 334 if ( ! EMPTY_TRASH_DAYS ) { 335 $delete_text = __( 'Delete Permanently' );335 $delete_text = __( 'Delete permanently' ); 336 336 } else { 337 $delete_text = __( 'Move to Trash' );337 $delete_text = __( 'Move to trash' ); 338 338 } 339 339 ?> … … 439 439 if ( current_user_can( 'delete_post', $post->ID ) ) { 440 440 if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) { 441 echo "<a class='submitdelete deletion' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Move to Trash' ) . '</a>';441 echo "<a class='submitdelete deletion' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Move to trash' ) . '</a>'; 442 442 } else { 443 443 $delete_ays = ! MEDIA_TRASH ? " onclick='return showNotice.warn();'" : ''; 444 echo "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "'>" . __( 'Delete Permanently' ) . '</a>';444 echo "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "'>" . __( 'Delete permanently' ) . '</a>'; 445 445 } 446 446 } … … 1116 1116 <div id="taxonomy-linkcategory" class="categorydiv"> 1117 1117 <ul id="category-tabs" class="category-tabs"> 1118 <li class="tabs"><a href="#categories-all"><?php _e( 'All Categories' ); ?></a></li>1118 <li class="tabs"><a href="#categories-all"><?php _e( 'All categories' ); ?></a></li> 1119 1119 <li class="hide-if-no-js"><a href="#categories-pop"><?php _ex( 'Most Used', 'categories' ); ?></a></li> 1120 1120 </ul>
Note: See TracChangeset
for help on using the changeset viewer.