woocommerce 3.6.1 template changes

This commit is contained in:
Chris Bibby 2019-04-19 13:42:06 +08:00
parent d60c6d4428
commit cb67c41f1e
1 changed files with 2 additions and 3 deletions

View File

@ -11,9 +11,8 @@
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.3.0
* @version 3.6.0
*/
if ( ! defined( 'ABSPATH' ) ) {
@ -22,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
?>
<form class="woocommerce-ordering" method="get">
<select name="orderby" class="orderby custom-select">
<select name="orderby" class="orderby custom-select" aria-label="<?php esc_attr_e( 'Shop order', 'understrap' ); ?>">
<?php foreach ( $catalog_orderby_options as $id => $name ) : ?>
<option value="<?php echo esc_attr( $id ); ?>" <?php selected( $orderby, $id ); ?>><?php echo esc_html( $name ); ?></option>
<?php endforeach; ?>