WordPress.org

Plugin Directory

Changeset 1737533


Ignore:
Timestamp:
09/28/17 06:45:31 (3 weeks ago)
Author:
wpgenie2
Message:

update to v1.0.10

Location:
on-sale-page-for-woocommerce/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • on-sale-page-for-woocommerce/trunk/public/class-woocommerce-onsale-page-public.php

    r1655746 r1737533  
    126126        if($wp_query->is_sale_page) { 
    127127 
    128             $product_ids_on_sale = wc_get_product_ids_on_sale(); 
     128            $product_ids_on_sale = apply_filters( 'wc_onsale_page_product_ids_on_sale', wc_get_product_ids_on_sale() ); 
    129129            $meta_query = WC()->query->get_meta_query(); 
    130130            $q->set( 'post__in', array_merge( array( 0 ), $product_ids_on_sale ) ); 
  • on-sale-page-for-woocommerce/trunk/readme.txt

    r1722472 r1737533  
    44Tags: wordpress onsale page, OnSale Page for WooCommerce, simple wordpress onsale page, onsale page, onsale page plugin, wordpress onsale page plugin, OnSale Page for WooCommerce plugin, simple onsale page, wpgenie onsale page, wpgenie 
    55Requires at least: 4.0 
    6 Tested up to: 4.8.1 
     6Tested up to: 4.5 
    77Stable tag: 1.8 
    88License: GPLv2 or later 
     
    6464 
    6565== Changelog == 
     66= 1.0.10 = 
     67* Add: wc_onsale_page_product_ids_on_sale filter 
     68 
    6669= 1.0.9 = 
    6770* Add: Yoast SEO compatibility 
  • on-sale-page-for-woocommerce/trunk/woocommerce-onsale-page.php

    r1655746 r1737533  
    1414 * 
    1515 * @wordpress-plugin 
    16  * Plugin Name:       Woocommerce Onsale Page 
     16 * Plugin Name:       WooCommerce Onsale Page 
    1717 * Plugin URI:        http://wpgenie.org/plugin-name-uri/ 
    1818 * Description:       WooCommerce Onsale Page is an extension for Woocommerce. We developed this plugin because Woocommerce has onsale widget and shortcode but it lacks paging, sorting and filtering which you can usually find on regular Woocommerce catalog page. 
    19  * Version:           1.0.9 
     19 * Version:           1.0.10 
    2020 * Author:            wpgenie 
    2121 * Author URI:        http://wpgenie.org/ 
     
    2424 * Text Domain:       wc_onsale_page 
    2525 * Domain Path:       /languages 
     26 * 
     27 * WC requires at least: 2.6.0 
     28 * WC tested up to: 3.2.0 
    2629 */ 
    2730 
     
    5154        $plugin = new Woocommerce_onsale_page(); 
    5255        $plugin->run(); 
    53          
     56 
    5457 
    5558    } 
    5659 
    5760    add_action( 'woocommerce_init' ,'run_wc_onsale_page'); 
    58      
     61 
    5962} else { 
    6063 
     
    6972 
    7073    include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 
    71      
     74 
    7275    if(is_plugin_active($plugin)){ 
    7376        deactivate_plugins( $plugin); 
    7477    } 
    7578     if ( isset( $_GET['activate'] ) ) 
    76             unset( $_GET['activate'] );  
     79            unset( $_GET['activate'] ); 
    7780} 
Note: See TracChangeset for help on using the changeset viewer.