Changeset 1806614
- Timestamp:
- 01/21/2018 05:00:02 PM (8 years ago)
- Location:
- woocommerce-add-to-cart-custom-redirect
- Files:
-
- 8 edited
- 1 copied
-
tags/1.2.3 (copied) (copied from woocommerce-add-to-cart-custom-redirect/trunk)
-
tags/1.2.3/includes/class-product-data-tabs.php (modified) (1 diff)
-
tags/1.2.3/readme.txt (modified) (3 diffs)
-
tags/1.2.3/templates/product-data-tab-upgrade-notice.php (modified) (2 diffs)
-
tags/1.2.3/woocommerce-custom-redirect.php (modified) (3 diffs)
-
trunk/includes/class-product-data-tabs.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/templates/product-data-tab-upgrade-notice.php (modified) (2 diffs)
-
trunk/woocommerce-custom-redirect.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-add-to-cart-custom-redirect/tags/1.2.3/includes/class-product-data-tabs.php
r1789794 r1806614 31 31 32 32 $tabs['redirect'] = array( 33 'label' => __( 'Redirect ', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ),33 'label' => __( 'Redirects', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ), 34 34 'target' => 'rv_add_to_cart_redirect_product_data_tab', 35 35 'class' => array( 'add_to_cart_redirect', 'hide_if_external' ), -
woocommerce-add-to-cart-custom-redirect/tags/1.2.3/readme.txt
r1802741 r1806614 3 3 Tags: WooCommerce, Redirect 4 4 Tested up to: 4.9.1 5 Stable tag: 1.2. 25 Stable tag: 1.2.3 6 6 License: GPLv2 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 33 33 This section describes how to install the plugin and get it working. 34 34 35 <h2>Automatically</h2> 35 ### Automatically 36 36 37 37 1. Search for WooCommerce Add to Cart Custom Redirect in the Add New Plugin section of the WordPress admin 38 38 2. Install & Activate 39 39 40 <h2>Manually</h2> 40 ### Manually 41 41 42 42 1. Download the zip file and upload `woocommerce-custom-redirect` to the `/wp-content/plugins/` directory … … 65 65 == Changelog == 66 66 67 = 1.2.3 = 68 * Fixed error in path to `load_plugin_textdomain()` 69 67 70 = 1.2.2 = 68 71 * Some refactoring -
woocommerce-add-to-cart-custom-redirect/tags/1.2.3/templates/product-data-tab-upgrade-notice.php
r1789794 r1806614 6 6 } 7 7 #product_data_tab_upgrade_notice .dashicons-yes { 8 color: # 45D1AF;8 color: #15ce5c; 9 9 } 10 10 … … 23 23 <p> 24 24 <ul> 25 <li><span class="dashicons dashicons-yes"></span> <?php _e( 'After-purchase redirects when your customers complete checkout', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ); ?></li> 25 26 <li><span class="dashicons dashicons-yes"></span> <?php _e( 'Product-specific Redirect URLs', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ); ?></li> 26 27 <li><span class="dashicons dashicons-yes"></span> <?php _e( 'Product Category/Tag Redirects', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ); ?></li> -
woocommerce-add-to-cart-custom-redirect/tags/1.2.3/woocommerce-custom-redirect.php
r1789794 r1806614 6 6 * Author: Ren Ventura 7 7 * Author URI: https://renventura.com/ 8 * Version: 1.2. 28 * Version: 1.2.3 9 9 * Text Domain: woocommerce-add-to-cart-redirect 10 10 * WC tested up to: 3.2.5 … … 73 73 // Plugin version 74 74 if ( ! defined( 'RV_CUSTOM_WC_REDIRECTS_VERSION' ) ) { 75 define( 'RV_CUSTOM_WC_REDIRECTS_VERSION', '1.2. 2' );75 define( 'RV_CUSTOM_WC_REDIRECTS_VERSION', '1.2.3' ); 76 76 } 77 77 … … 158 158 159 159 load_textdomain( RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN, WP_LANG_DIR . '/woocommerce-add-to-cart-custom-redirect/woocommerce-add-to-cart-custom-redirect-' . $locale . '.mo' ); 160 load_plugin_textdomain( RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN, false, RV_CUSTOM_WC_REDIRECTS_PLUGIN_BASENAME. '/languages' );160 load_plugin_textdomain( RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN, false, dirname( RV_CUSTOM_WC_REDIRECTS_PLUGIN_BASENAME ) . '/languages' ); 161 161 } 162 162 -
woocommerce-add-to-cart-custom-redirect/trunk/includes/class-product-data-tabs.php
r1789794 r1806614 31 31 32 32 $tabs['redirect'] = array( 33 'label' => __( 'Redirect ', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ),33 'label' => __( 'Redirects', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ), 34 34 'target' => 'rv_add_to_cart_redirect_product_data_tab', 35 35 'class' => array( 'add_to_cart_redirect', 'hide_if_external' ), -
woocommerce-add-to-cart-custom-redirect/trunk/readme.txt
r1802741 r1806614 3 3 Tags: WooCommerce, Redirect 4 4 Tested up to: 4.9.1 5 Stable tag: 1.2. 25 Stable tag: 1.2.3 6 6 License: GPLv2 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 33 33 This section describes how to install the plugin and get it working. 34 34 35 <h2>Automatically</h2> 35 ### Automatically 36 36 37 37 1. Search for WooCommerce Add to Cart Custom Redirect in the Add New Plugin section of the WordPress admin 38 38 2. Install & Activate 39 39 40 <h2>Manually</h2> 40 ### Manually 41 41 42 42 1. Download the zip file and upload `woocommerce-custom-redirect` to the `/wp-content/plugins/` directory … … 65 65 == Changelog == 66 66 67 = 1.2.3 = 68 * Fixed error in path to `load_plugin_textdomain()` 69 67 70 = 1.2.2 = 68 71 * Some refactoring -
woocommerce-add-to-cart-custom-redirect/trunk/templates/product-data-tab-upgrade-notice.php
r1789794 r1806614 6 6 } 7 7 #product_data_tab_upgrade_notice .dashicons-yes { 8 color: # 45D1AF;8 color: #15ce5c; 9 9 } 10 10 … … 23 23 <p> 24 24 <ul> 25 <li><span class="dashicons dashicons-yes"></span> <?php _e( 'After-purchase redirects when your customers complete checkout', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ); ?></li> 25 26 <li><span class="dashicons dashicons-yes"></span> <?php _e( 'Product-specific Redirect URLs', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ); ?></li> 26 27 <li><span class="dashicons dashicons-yes"></span> <?php _e( 'Product Category/Tag Redirects', RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN ); ?></li> -
woocommerce-add-to-cart-custom-redirect/trunk/woocommerce-custom-redirect.php
r1789794 r1806614 6 6 * Author: Ren Ventura 7 7 * Author URI: https://renventura.com/ 8 * Version: 1.2. 28 * Version: 1.2.3 9 9 * Text Domain: woocommerce-add-to-cart-redirect 10 10 * WC tested up to: 3.2.5 … … 73 73 // Plugin version 74 74 if ( ! defined( 'RV_CUSTOM_WC_REDIRECTS_VERSION' ) ) { 75 define( 'RV_CUSTOM_WC_REDIRECTS_VERSION', '1.2. 2' );75 define( 'RV_CUSTOM_WC_REDIRECTS_VERSION', '1.2.3' ); 76 76 } 77 77 … … 158 158 159 159 load_textdomain( RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN, WP_LANG_DIR . '/woocommerce-add-to-cart-custom-redirect/woocommerce-add-to-cart-custom-redirect-' . $locale . '.mo' ); 160 load_plugin_textdomain( RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN, false, RV_CUSTOM_WC_REDIRECTS_PLUGIN_BASENAME. '/languages' );160 load_plugin_textdomain( RV_CUSTOM_WC_REDIRECTS_TEXT_DOMAIN, false, dirname( RV_CUSTOM_WC_REDIRECTS_PLUGIN_BASENAME ) . '/languages' ); 161 161 } 162 162
Note: See TracChangeset
for help on using the changeset viewer.