Changeset 48594
- Timestamp:
- 07/24/2020 12:19:37 AM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r48352 r48594 130 130 case 'trash': 131 131 $caution_msg = __( 'You are about to move the following comment to the Trash:' ); 132 $button = __( 'Move to trash' );132 $button = __( 'Move to Trash' ); 133 133 break; 134 134 case 'delete': -
trunk/src/wp-admin/edit-form-comment.php
r48352 r48594 203 203 <div id="major-publishing-actions"> 204 204 <div id="delete-action"> 205 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url( 'comment.php?action=' . ( ! EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode( wp_get_referer() ), 'delete-comment_' . $comment->comment_ID ) . "'>" . ( ! EMPTY_TRASH_DAYS ? __( 'Delete Permanently' ) : __( 'Move to trash' ) ) . "</a>\n"; ?>205 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url( 'comment.php?action=' . ( ! EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode( wp_get_referer() ), 'delete-comment_' . $comment->comment_ID ) . "'>" . ( ! EMPTY_TRASH_DAYS ? __( 'Delete Permanently' ) : __( 'Move to Trash' ) ) . "</a>\n"; ?> 206 206 </div> 207 207 <div id="publishing-action"> -
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r48585 r48594 369 369 $actions['delete'] = __( 'Delete permanently' ); 370 370 } else { 371 $actions['trash'] = __( 'Move to trash' );371 $actions['trash'] = __( 'Move to Trash' ); 372 372 } 373 373 -
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r48424 r48594 175 175 $actions['delete'] = __( 'Delete permanently' ); 176 176 } else { 177 $actions['trash'] = __( 'Move to trash' );177 $actions['trash'] = __( 'Move to Trash' ); 178 178 } 179 179 } else { -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r48586 r48594 418 418 $actions['delete'] = __( 'Delete permanently' ); 419 419 } else { 420 $actions['trash'] = __( 'Move to trash' );420 $actions['trash'] = __( 'Move to Trash' ); 421 421 } 422 422 } -
trunk/src/wp-admin/includes/meta-boxes.php
r48583 r48594 335 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();'" : ''; -
trunk/src/wp-includes/media-template.php
r48352 r48594 519 519 <?php if ( MEDIA_TRASH ) : ?> 520 520 <# if ( 'trash' === data.status ) { #> 521 <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from trash' ); ?></button>521 <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button> 522 522 <# } else { #> 523 <button type="button" class="button-link trash-attachment"><?php _e( 'Move to trash' ); ?></button>523 <button type="button" class="button-link trash-attachment"><?php _e( 'Move to Trash' ); ?></button> 524 524 <# } #> 525 525 <?php else : ?> … … 640 640 <?php if ( MEDIA_TRASH ) : ?> 641 641 <# if ( 'trash' === data.status ) { #> 642 <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from trash' ); ?></button>642 <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button> 643 643 <# } else { #> 644 <button type="button" class="button-link trash-attachment"><?php _e( 'Move to trash' ); ?></button>644 <button type="button" class="button-link trash-attachment"><?php _e( 'Move to Trash' ); ?></button> 645 645 <# } #> 646 646 <?php else : ?> -
trunk/src/wp-includes/media.php
r48547 r48594 4216 4216 'warnBulkTrash' => __( "You are about to trash these items.\n 'Cancel' to stop, 'OK' to delete." ), 4217 4217 'bulkSelect' => __( 'Bulk select' ), 4218 'trashSelected' => __( 'Move to trash' ),4219 'restoreSelected' => __( 'Restore from trash' ),4218 'trashSelected' => __( 'Move to Trash' ), 4219 'restoreSelected' => __( 'Restore from Trash' ), 4220 4220 'deletePermanently' => __( 'Delete permanently' ), 4221 4221 'apply' => __( 'Apply' ),
Note: See TracChangeset
for help on using the changeset viewer.