Changeset 1956164
- Timestamp:
- 10/13/2018 06:40:52 AM (7 years ago)
- Location:
- woo-new-product-info
- Files:
-
- 4 edited
- 1 copied
-
tags/1.0.6 (copied) (copied from woo-new-product-info/trunk)
-
tags/1.0.6/readme.txt (modified) (2 diffs)
-
tags/1.0.6/woo-new-product-info.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woo-new-product-info.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-new-product-info/tags/1.0.6/readme.txt
r1916409 r1956164 5 5 Tested up to: 4.9 6 6 Requires PHP : 5.4 7 Stable tag: 1.0. 57 Stable tag: 1.0.6 8 8 License: GPLv2 or later 9 9 … … 64 64 == Changelog == 65 65 66 = 1.0.6 = 67 * Redirect to plugin's settings after installation 68 66 69 = 1.0.2 = 67 70 * First release -
woo-new-product-info/tags/1.0.6/woo-new-product-info.php
r1916409 r1956164 3 3 Plugin Name: WooCommerce new product info 4 4 Description: Differentiate WooCommerce new products by displaying a customizable "New" tag. 5 Version: 1.0. 55 Version: 1.0.6 6 6 Author: Motpr355 7 7 Text Domain: motpr355_woo_new_product_info … … 28 28 29 29 register_activation_hook( __FILE__, array( 'Motpr355_Woo_New_Product_Info', 'install' ) ); 30 31 add_action( 'activated_plugin', array( $this, 'installed' ) ); 30 32 31 33 register_uninstall_hook( __FILE__, array( 'Motpr355_Woo_New_Product_Info', 'uninstall' ) ); … … 141 143 $this->settings->{$this->settings_enum->font_weight}, 142 144 $this->settings->{$this->settings_enum->text_transform} ) ) { 143 include plugin_dir_path( __FILE__ ) . 'css/website.php';145 include plugin_dir_path( __FILE__ ) . 'css/website.php'; 144 146 } 145 147 } … … 183 185 ); 184 186 update_option( 'motpr355_woo_new_product_info_settings', $settings ); 187 } 188 189 public function installed( $plugin ) { 190 if( $plugin === plugin_basename( __FILE__ ) ) { 191 exit( wp_redirect( admin_url( 'edit.php?post_type=product&page=motpr355_woo_new_product_info' ) ) ); 192 } 185 193 } 186 194 -
woo-new-product-info/trunk/readme.txt
r1916409 r1956164 5 5 Tested up to: 4.9 6 6 Requires PHP : 5.4 7 Stable tag: 1.0. 57 Stable tag: 1.0.6 8 8 License: GPLv2 or later 9 9 … … 64 64 == Changelog == 65 65 66 = 1.0.6 = 67 * Redirect to plugin's settings after installation 68 66 69 = 1.0.2 = 67 70 * First release -
woo-new-product-info/trunk/woo-new-product-info.php
r1916409 r1956164 3 3 Plugin Name: WooCommerce new product info 4 4 Description: Differentiate WooCommerce new products by displaying a customizable "New" tag. 5 Version: 1.0. 55 Version: 1.0.6 6 6 Author: Motpr355 7 7 Text Domain: motpr355_woo_new_product_info … … 28 28 29 29 register_activation_hook( __FILE__, array( 'Motpr355_Woo_New_Product_Info', 'install' ) ); 30 31 add_action( 'activated_plugin', array( $this, 'installed' ) ); 30 32 31 33 register_uninstall_hook( __FILE__, array( 'Motpr355_Woo_New_Product_Info', 'uninstall' ) ); … … 141 143 $this->settings->{$this->settings_enum->font_weight}, 142 144 $this->settings->{$this->settings_enum->text_transform} ) ) { 143 include plugin_dir_path( __FILE__ ) . 'css/website.php';145 include plugin_dir_path( __FILE__ ) . 'css/website.php'; 144 146 } 145 147 } … … 183 185 ); 184 186 update_option( 'motpr355_woo_new_product_info_settings', $settings ); 187 } 188 189 public function installed( $plugin ) { 190 if( $plugin === plugin_basename( __FILE__ ) ) { 191 exit( wp_redirect( admin_url( 'edit.php?post_type=product&page=motpr355_woo_new_product_info' ) ) ); 192 } 185 193 } 186 194
Note: See TracChangeset
for help on using the changeset viewer.