Revert string capitalization to the original version

PR #25419 added a filter to change the value of the text in a button in
the cart-empty.php template. But it mistakenly changed the
capitalization of the string from 'Return to shop' to 'Return To Shop'.
This commit simply restores the string to its original version.
This commit is contained in:
Rodrigo Primo 2020-10-02 08:41:25 -03:00
parent 788969d2bb
commit b1a1984bdd
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
* @since 4.6.0
* @param string $default_text Default text.
*/
echo esc_html( apply_filters( 'woocommerce_return_to_shop_text', __( 'Return To Shop', 'woocommerce' ) ) );
echo esc_html( apply_filters( 'woocommerce_return_to_shop_text', __( 'Return to shop', 'woocommerce' ) ) );
?>
</a>
</p>