Changeset 2680941
- Timestamp:
- 02/17/2022 04:33:34 PM (4 years ago)
- Location:
- private-file-for-woocommerce/trunk
- Files:
-
- 3 edited
-
includes/core-addons/private-page/private-page-addon.class.php (modified) (1 diff)
-
private-file-for-woocommerce.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
private-file-for-woocommerce/trunk/includes/core-addons/private-page/private-page-addon.class.php
r2476667 r2680941 116 116 // If not logged-in, we ask for details 117 117 if ( !is_user_logged_in() ) { 118 wp_redirect( wp_login_url( $_SERVER['REQUEST_URI'] ));118 wp_redirect( get_permalink( get_option('woocommerce_myaccount_page_id')). '/?redirect_to=' . $_SERVER['REQUEST_URI'] ); 119 119 exit; 120 120 } -
private-file-for-woocommerce/trunk/private-file-for-woocommerce.php
r2630774 r2680941 3 3 Plugin Name: Private File For Woocommerce 4 4 Plugin URI: https://www.4wp.it 5 Version: 1.0. 25 Version: 1.0.3 6 6 Description: Addons for my account woocommerce with the possibility to get a page on your site where they can access private file, private pages and one shared page. 7 7 Author: Roberto Bottalico -
private-file-for-woocommerce/trunk/readme.txt
r2630774 r2680941 4 4 Tags: private file, woocommerce, private content, myaccount woocommerce 5 5 Requires at least: 4.9 6 Tested up to: 5. 8.27 Tested WooCommerce up to: 5.9.08 Stable Tag: 1.0. 26 Tested up to: 5.9 7 Tested WooCommerce up to: 6.2.0 8 Stable Tag: 1.0.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 70 70 == Changelog == 71 71 72 = 1.0.23 = 73 74 Redirect to my account woocommerce if user not logged 75 72 76 = 1.0.2 = 73 77
Note: See TracChangeset
for help on using the changeset viewer.