String makes more sense
This commit is contained in:
parent
5686e0826a
commit
43f7140623
|
@ -960,7 +960,7 @@ function woocommerce_default_sorting_link( $views ) {
|
||||||
$query_string = remove_query_arg(array( 'orderby', 'order' ));
|
$query_string = remove_query_arg(array( 'orderby', 'order' ));
|
||||||
$query_string = add_query_arg( 'orderby', urlencode('menu_order title'), $query_string );
|
$query_string = add_query_arg( 'orderby', urlencode('menu_order title'), $query_string );
|
||||||
$query_string = add_query_arg( 'order', urlencode('ASC'), $query_string );
|
$query_string = add_query_arg( 'order', urlencode('ASC'), $query_string );
|
||||||
$views['byorder'] = '<a href="'. $query_string . '" class="' . $class . '">' . __('Default sorting', 'woocommerce') . '</a>';
|
$views['byorder'] = '<a href="'. $query_string . '" class="' . $class . '">' . __('Sort Products', 'woocommerce') . '</a>';
|
||||||
|
|
||||||
return $views;
|
return $views;
|
||||||
}
|
}
|
Loading…
Reference in New Issue