#1229: Adjust hover text if WooCommecre is not active

This commit is contained in:
Niels Lange 2020-01-04 15:47:05 +08:00
parent 250d954536
commit 80e880cc00
No known key found for this signature in database
GPG key ID: 07F0A405A50BA26D

View file

@ -140,7 +140,7 @@ if ( ! function_exists( 'storefront_credit' ) ) {
if ( storefront_is_woocommerce_activated() ) {
$links_output .= '<a href="https://woocommerce.com" target="_blank" title="' . esc_attr__( 'WooCommerce - The Best eCommerce Platform for WordPress', 'storefront' ) . '" rel="noreferrer noopener">' . esc_html__( 'Built with Storefront &amp; WooCommerce', 'storefront' ) . '</a>.';
} else {
$links_output .= '<a href="https://woocommerce.com/storefront/" target="_blank" title="' . esc_attr__( 'WooCommerce - The Best eCommerce Platform for WordPress', 'storefront' ) . '" rel="noreferrer noopener">' . esc_html__( 'Built with Storefront', 'storefront' ) . '</a>.';
$links_output .= '<a href="https://woocommerce.com/storefront/" target="_blank" title="' . esc_attr__( 'Storefront - The perfect platform for your next WooCommerce project.', 'storefront' ) . '" rel="noreferrer noopener">' . esc_html__( 'Built with Storefront', 'storefront' ) . '</a>.';
}
}