Merge pull request #24867 from woocommerce/fix/order-page-move-to-trash

Capitalize `T` in `Move to trash` phrase on order page in wp-admin
This commit is contained in:
Claudio Sanches 2019-10-18 13:10:47 -03:00 committed by GitHub
commit 0734b5412f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class WC_Meta_Box_Order_Actions {
if ( ! EMPTY_TRASH_DAYS ) {
$delete_text = __( 'Delete permanently', 'woocommerce' );
} else {
$delete_text = __( 'Move to trash', 'woocommerce' );
$delete_text = __( 'Move to Trash', 'woocommerce' );
}
?>
<a class="submitdelete deletion" href="<?php echo esc_url( get_delete_post_link( $post->ID ) ); ?>"><?php echo esc_html( $delete_text ); ?></a>