Plugin Directory

Changeset 2672622


Ignore:
Timestamp:
02/04/2022 02:10:17 AM (4 years ago)
Author:
magicplugins
Message:

Added Wordpress 5.9 support.

Location:
wppv-divi/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wppv-divi/trunk/readme.txt

    r2648820 r2672622  
    33Tags: pay per view, divi, woocommerce
    44Requires at least: 3.9
    5 Tested up to: 5.7.2
    6 Stable tag: 1.0.7
     5Tested up to: 5.9
     6Stable tag: 1.0.8
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3939== Changelog ==
    4040
     41Version v1.0.8
     42    Added support of WordPress 5.9.
     43
    4144Version v1.0.7
    4245    Added support of select videos in Current product.
  • wppv-divi/trunk/wp-pay-per-view-divi.php

    r2648820 r2672622  
    44Plugin URI:  https://wppayperview.com
    55Description: Allows Divi users to add WP Pay Per View videos to their Divi website as a Divi module.
    6 Version:     1.0.7
     6Version:     1.0.8
    77Author: WP Pay Per View
    88License:     GPL2
     
    2525*/
    2626
    27 define('WPPV_DIVI_VERSION', '1.0.7.38');
     27define('WPPV_DIVI_VERSION', '1.0.8.39');
    2828
    2929if ( ! function_exists( 'wppv_divi_initialize_extension' )):
    30 // function wppv_divi_is_local_debug() {
    31 // return strpos(home_url(), 'http://pc2pp.com') !== false || strpos(home_url(), 'http://wppv.com') !== false;
    32 // }
    33 // if(wppv_divi_is_local_debug() && !defined('WPPV_DEBUG')) {
    34 // define('WPPV_DEBUG', true);
    35 // }
     30function wppv_divi_is_local_debug() {
     31    return strpos(home_url(), 'http://pc2pp.com') !== false || strpos(home_url(), 'http://wppv.com') !== false;
     32}
     33if(wppv_divi_is_local_debug() && !defined('WPPV_DEBUG')) {
     34    define('WPPV_DEBUG', true);
     35}
    3636/**
    3737 * Creates the extension's main class instance.
Note: See TracChangeset for help on using the changeset viewer.