parent
4a2a2714f6
commit
e43285f677
|
@ -99,7 +99,7 @@ class WC_Admin_Permalink_Settings {
|
|||
|
||||
// Get shop page
|
||||
$shop_page_id = wc_get_page_id( 'shop' );
|
||||
$base_slug = ( $shop_page_id > 0 && get_post( $shop_page_id ) ) ? get_page_uri( $shop_page_id ) : _x( 'shop', 'default-slug', 'woocommerce' );
|
||||
$base_slug = urldecode( ( $shop_page_id > 0 && get_post( $shop_page_id ) ) ? get_page_uri( $shop_page_id ) : _x( 'shop', 'default-slug', 'woocommerce' ) );
|
||||
$product_base = _x( 'product', 'default-slug', 'woocommerce' );
|
||||
|
||||
$structures = array(
|
||||
|
|
Loading…
Reference in New Issue