Plugin Directory

Changeset 1796195

Timestamp:
01/03/2018 06:26:09 AM (7 years ago)
Author:
sk.shaikat
Message:

update version to 1.5.8.8

Location:
woocommerce-upcoming-product
Files:
15 added
2 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-upcoming-product/trunk/readme.txt

    r1794778 r1796195  
    55Requires at least: 3.1
    66Tested up to: 5
    7 Stable tag: 1.5.8.7
     7Stable tag: 1.5.8.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    4848
    4949== Change log ==
     50
     51
     52
    5053
    5154= 1.5.8.7 = Dec 31, 2017
  • woocommerce-upcoming-product/trunk/woocommerce-upcoming-product.php

    r1794778 r1796195  
    44Plugin URI: https://github.com/Sk-Shaikat/woocommerce-upcoming-product
    55Description: Best Plugin to Manage your upcoming product easily in WooCommerce.
    6 Version: 1.5.8.7
     6Version: 1.5.8.
    77Author: Sk Shaikat
    88Author URI: http://www.shaikat.me
     
    118118        // Before init action.
    119119        do_action( 'before_wup_init' );
    120         if ( !class_exists( 'WC_Admin_Settings' ) ) {
    121             return;
    122         }
     120
    123121        static $instance = false;
    124122
     
    140138            deactivate_plugins( plugin_basename( __FILE__ ) );
    141139
    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>' );
    143141        }
    144142        if (! wp_next_scheduled ( 'wup_expired_upcoming_product' ) ) {
     
    242240     */
    243241    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&section=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&section=wup' ) . '" aria-label="' . esc_attr__( 'View upcoming product settings', 'wup' ) . '">' . esc_html__( 'Settings', 'wup' ) . '</a>';
     243
     244        return $links;
    249245    }
    250246
Note: See TracChangeset for help on using the changeset viewer.