Premmerce Permalink Manager for WooCommerce - Version 2.3.7

Version Description

(6th July 2022) =

  • Fix: Product URLs now working correctly without 404s, due to v2.3.6
Download this release

Release Info

Developer premmerce
Plugin Icon 128x128 Premmerce Permalink Manager for WooCommerce
Version 2.3.7
Comparing to
See all releases

Code changes from version 2.3.6 to 2.3.7

premmerce-url-manager.php CHANGED
@@ -11,7 +11,7 @@ use Premmerce\UrlManager\UrlManagerPlugin;
11
  * Plugin Name: Premmerce Permalink Manager for WooCommerce
12
  * Plugin URI: https://premmerce.com/woocommerce-permalink-manager-remove-shop-product-product-category-url/
13
  * Description: Premmerce Permalink Manager for WooCommerce allows you to change WooCommerce permalink and remove product and product_category slugs from the URL.
14
- * Version: 2.3.6
15
  *
16
  * Author: premmerce
17
  * Author URI: https://premmerce.com/
11
  * Plugin Name: Premmerce Permalink Manager for WooCommerce
12
  * Plugin URI: https://premmerce.com/woocommerce-permalink-manager-remove-shop-product-product-category-url/
13
  * Description: Premmerce Permalink Manager for WooCommerce allows you to change WooCommerce permalink and remove product and product_category slugs from the URL.
14
+ * Version: 2.3.7
15
  *
16
  * Author: premmerce
17
  * Author URI: https://premmerce.com/
readme.txt CHANGED
@@ -4,8 +4,8 @@
4
  Contributors: premmerce, freemius
5
  Tags: woocommerce url, remove product, remove product_category, woocommerce permalink, woocommerce, woocommerce seo
6
  Requires at least: 4.8
7
- Tested up to: 6.0
8
- Stable tag: 2.3.6
9
  Requires PHP: 5.6
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -85,6 +85,10 @@ You can also install this plugin manually:
85
 
86
 
87
 
 
 
 
 
88
  = 2.3.6 (4th July 2022) =
89
 
90
  * Fix: Redirected URL now keeps the query strings from the original URL
4
  Contributors: premmerce, freemius
5
  Tags: woocommerce url, remove product, remove product_category, woocommerce permalink, woocommerce, woocommerce seo
6
  Requires at least: 4.8
7
+ Tested up to: 6.1
8
+ Stable tag: 2.3.7
9
  Requires PHP: 5.6
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
85
 
86
 
87
 
88
+ = 2.3.7 (6th July 2022) =
89
+
90
+ * Fix: Product URLs now working correctly without 404s, due to v2.3.6
91
+
92
  = 2.3.6 (4th July 2022) =
93
 
94
  * Fix: Redirected URL now keeps the query strings from the original URL
src/Frontend/Frontend.php CHANGED
@@ -111,11 +111,7 @@ class Frontend
111
  $replace['post_type'] = self::WOO_PRODUCT;
112
  $replace['product'] = $slug;
113
  $replace['name'] = $slug;
114
- // Find other query vars
115
- $old_request = $request;
116
- unset( $old_request['pagename'] );
117
- $extra = array_diff_key( $old_request, $replace );
118
- return array_merge( $replace, $extra );
119
  }
120
 
121
  }
111
  $replace['post_type'] = self::WOO_PRODUCT;
112
  $replace['product'] = $slug;
113
  $replace['name'] = $slug;
114
+ return $replace;
 
 
 
 
115
  }
116
 
117
  }
vendor/composer/installed.php CHANGED
@@ -1,22 +1,22 @@
1
  <?php return array(
2
  'root' => array(
3
- 'pretty_version' => 'dev-develop',
4
- 'version' => 'dev-develop',
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '9433134395b881ae7c40ef05b73a483a104bac6a',
9
  'name' => 'premmerce/woo-permalink-manager',
10
  'dev' => false,
11
  ),
12
  'versions' => array(
13
  'premmerce/woo-permalink-manager' => array(
14
- 'pretty_version' => 'dev-develop',
15
- 'version' => 'dev-develop',
16
  'type' => 'wordpress-plugin',
17
  'install_path' => __DIR__ . '/../../',
18
  'aliases' => array(),
19
- 'reference' => '9433134395b881ae7c40ef05b73a483a104bac6a',
20
  'dev_requirement' => false,
21
  ),
22
  'premmerce/wordpress-sdk' => array(
1
  <?php return array(
2
  'root' => array(
3
+ 'pretty_version' => 'dev-master',
4
+ 'version' => 'dev-master',
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '1baee60d6280da87a9ad6d89c7db75ef5c60b03a',
9
  'name' => 'premmerce/woo-permalink-manager',
10
  'dev' => false,
11
  ),
12
  'versions' => array(
13
  'premmerce/woo-permalink-manager' => array(
14
+ 'pretty_version' => 'dev-master',
15
+ 'version' => 'dev-master',
16
  'type' => 'wordpress-plugin',
17
  'install_path' => __DIR__ . '/../../',
18
  'aliases' => array(),
19
+ 'reference' => '1baee60d6280da87a9ad6d89c7db75ef5c60b03a',
20
  'dev_requirement' => false,
21
  ),
22
  'premmerce/wordpress-sdk' => array(