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:
parent
788969d2bb
commit
b1a1984bdd
|
@ -32,7 +32,7 @@ if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
|
||||||
* @since 4.6.0
|
* @since 4.6.0
|
||||||
* @param string $default_text Default text.
|
* @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>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue