Plugin Directory

Changeset 2154150

Timestamp:
09/10/2019 12:08:42 PM (5 years ago)
Author:
sk.shaikat
Message:

update version to 1.5.9.2

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

Legend:

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

    r2121854 r2154150  
    55Requires at least: 3.1
    66Tested up to: 5.2.2
    7 Stable tag: 1.5.9.1
     7Stable tag: 1.5.9.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    4949== Change log ==
    5050
    51 = 1.5.9 = July 11, 2019
     51= 1.5.9.2 = Sep 10, 2019
     52* [tweak] Fix admin notice
     53
     54= 1.5.9.1 = July 11, 2019
    5255* [tweak] Fix some text
    5356
  • woocommerce-upcoming-product/trunk/woocommerce-upcoming-product.php

    r2121854 r2154150  
    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.9.1
     6Version: 1.5.9.
    77Author: Mohaiminul Islam
    88Author URI: http://www.mohaiminulislam.com
     
    1616 *
    1717 */
    18 if ( ! function_exists( 'wup' ) ) {
    19     // Create a helper function for easy SDK access.
    20     function wup() {
    21         global $wup;
    22 
    23         if ( ! isset( $wup ) ) {
    24             // Include Freemius SDK.
    25             require_once dirname(__FILE__) . '/freemius/start.php';
    26 
    27             $wup = fs_dynamic_init( array(
    28                 'id'                  => '1513',
    29                 'slug'                => 'woocommerce-upcoming-product',
    30                 'type'                => 'plugin',
    31                 'public_key'          => 'pk_f57ef4ef38e8dd0f164f8d6ed764c',
    32                 'is_premium'          => false,
    33                 'has_addons'          => false,
    34                 'has_paid_plans'      => false,
    35                 'menu'                => array(
    36                     'slug'           => 'wup',
    37                     'override_exact' => true,
    38                     'parent'         => array(
    39                         'slug' => 'wc-settings',
    40                     ),
    41                 ),
    42             ) );
    43         }
    44 
    45         return $wup;
    46     }
    47 
    48     // Init Freemius.
    49     wup();
    50     // Signal that SDK was initiated.
    51     do_action( 'wup_loaded' );
    52 
    53     function wup_settings_url() {
    54         return admin_url( 'admin.php?page=wc-settings&tab=products&section=wup' );
    55     }
    56 
    57     wup()->add_filter('connect_url', 'wup_settings_url');
    58     wup()->add_filter('after_skip_url', 'wup_settings_url');
    59     wup()->add_filter('after_connect_url', 'wup_settings_url');
    60     wup()->add_filter('after_pending_connect_url', 'wup_settings_url');
    61 }
    6218
    6319// don't call the file directly
     
    229185        // Make sure this event hasn't been scheduled
    230186        if ( !wp_next_scheduled ( 'wup_expired_upcoming_product' ) ) {
    231             wp_schedule_event( time(), 'twicedaily', 'wup_expired_upcoming_product' );
     187            wp_schedule_event( time(), 'ly', 'wup_expired_upcoming_product' );
    232188        }
    233189    }
Note: See TracChangeset for help on using the changeset viewer.