Changeset 1796195
- Timestamp:
- 01/03/2018 06:26:09 AM (7 years ago)
- Location:
- woocommerce-upcoming-product
- Files:
-
- 15 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-upcoming-product/trunk/readme.txt
r1794778 r1796195 5 5 Requires at least: 3.1 6 6 Tested up to: 5 7 Stable tag: 1.5.8. 77 Stable tag: 1.5.8. 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 48 48 49 49 == Change log == 50 51 52 50 53 51 54 = 1.5.8.7 = Dec 31, 2017 -
woocommerce-upcoming-product/trunk/woocommerce-upcoming-product.php
r1794778 r1796195 4 4 Plugin URI: https://github.com/Sk-Shaikat/woocommerce-upcoming-product 5 5 Description: Best Plugin to Manage your upcoming product easily in WooCommerce. 6 Version: 1.5.8. 76 Version: 1.5.8. 7 7 Author: Sk Shaikat 8 8 Author URI: http://www.shaikat.me … … 118 118 // Before init action. 119 119 do_action( 'before_wup_init' ); 120 if ( !class_exists( 'WC_Admin_Settings' ) ) { 121 return; 122 } 120 123 121 static $instance = false; 124 122 … … 140 138 deactivate_plugins( plugin_basename( __FILE__ ) ); 141 139 142 wp_die( '<div class="error"><p>' . sprintf( __( '<b>Dokan</b> requires %sWooCommerce%s to be installed & activated!', ' dokan-lite' ), '<a target="_blank" href="https://wordpress.org/plugins/woocommerce/">', '</a>' ) . '</p></div>' );140 wp_die( '<div class="error"><p>' . sprintf( __( '<b>Dokan</b> requires %sWooCommerce%s to be installed & activated!', '' ), '<a target="_blank" href="https://wordpress.org/plugins/woocommerce/">', '</a>' ) . '</p></div>' ); 143 141 } 144 142 if (! wp_next_scheduled ( 'wup_expired_upcoming_product' ) ) { … … 242 240 */ 243 241 public static function wup_plugin_action_links( $links ) { 244 $action_links = array( 245 'settings' => '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=products§ion=wup' ) . '" aria-label="' . esc_attr__( 'View upcoming product settings', 'wup' ) . '">' . esc_html__( 'Settings', 'wup' ) . '</a>', 246 ); 247 248 return array_merge( $action_links, $links ); 242 $links[] = '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=products§ion=wup' ) . '" aria-label="' . esc_attr__( 'View upcoming product settings', 'wup' ) . '">' . esc_html__( 'Settings', 'wup' ) . '</a>'; 243 244 return $links; 249 245 } 250 246
Note: See TracChangeset
for help on using the changeset viewer.