Plugin Directory

Changeset 2672353


Ignore:
Timestamp:
02/03/2022 04:00:16 PM (4 years ago)
Author:
crowdfavorite
Message:

2.1.1

Location:
conditional-content-cf-lite
Files:
3 edited
28 copied

Legend:

Unmodified
Added
Removed
  • conditional-content-cf-lite/tags/2.1.1/README.txt

    r2575297 r2672353  
    33Tags: conditional content, personalization, adaptive content, dynamic content, replace content, website personalization, conversion, crowd favorite, dynamic web content, website customization
    44Requires at least: 5.0.0
    5 Tested up to: 5.8
    6 Stable tag: 2.1.0
     5Tested up to: 5.9
     6Stable tag: 2.1.1
    77Requires PHP: 7.0.0
    88License: GPLv2 or later
     
    116116
    117117== Changelog ==
     118= 2.1.1 =
     119 - dynamically load admin assets
     120
    118121= 2.1.0 =
    119122 - updated administrative UI
  • conditional-content-cf-lite/tags/2.1.1/admin/class-admin.php

    r2550508 r2672353  
    134134    public function enqueueScripts()
    135135    {
    136         global $plugin_page;
    137 
    138         // Don't load JS on the WP All Import Pro/All Export pages, to avoid JS errors.
    139         if (
    140             (is_plugin_active('wp-all-import-pro/wp-all-import-pro.php')
    141             || is_plugin_active('wp-all-export/wp-all-export.php'))
    142             && in_array($plugin_page, ['pmxe-admin-export', 'pmxi-admin-import', 'pmxi-admin-manage'], true)
    143         ) {
     136        if (!($screen = get_current_screen()) || 'cf_cc_condition' !== $screen->post_type){
    144137            return;
    145138        }
     
    237230    public function enqueueStyles()
    238231    {
     232        if (!($screen = get_current_screen()) || 'cf_cc_condition' !== $screen->post_type){
     233            return;
     234        }
     235
    239236        wp_enqueue_style(
    240237            CF_CC_PLUGIN_SLUG . '-grid',
  • conditional-content-cf-lite/tags/2.1.1/conditional-content-cf-lite.php

    r2550508 r2672353  
    77 * Plugin URI:        https://crowdfavorite.com
    88 * Description:       Display page sections and widgets based on configurable visibility rules.
    9  * Version:           2.1.0
     9 * Version:           2.1.1
    1010 * Author:            Crowd Favorite
    1111 * Author URI:        https://crowdfavorite.com
     
    6666define('CF_CC_PLUGIN_NAME', 'Conditional Content by Crowd Favorite');
    6767define('CF_CC_PLUGIN_SLUG', 'cf-conditional-content');
    68 define('CF_CC_PLUGIN_VERSION', '2.1.0');
     68define('CF_CC_PLUGIN_VERSION', '2.1.1');
    6969
    7070define('CF_CC_CPT_CONDITION', 'cf_cc_condition');
  • conditional-content-cf-lite/trunk/README.txt

    r2575297 r2672353  
    33Tags: conditional content, personalization, adaptive content, dynamic content, replace content, website personalization, conversion, crowd favorite, dynamic web content, website customization
    44Requires at least: 5.0.0
    5 Tested up to: 5.8
    6 Stable tag: 2.1.0
     5Tested up to: 5.9
     6Stable tag: 2.1.1
    77Requires PHP: 7.0.0
    88License: GPLv2 or later
     
    116116
    117117== Changelog ==
     118= 2.1.1 =
     119 - dynamically load admin assets
     120
    118121= 2.1.0 =
    119122 - updated administrative UI
  • conditional-content-cf-lite/trunk/admin/class-admin.php

    r2550508 r2672353  
    134134    public function enqueueScripts()
    135135    {
    136         global $plugin_page;
    137 
    138         // Don't load JS on the WP All Import Pro/All Export pages, to avoid JS errors.
    139         if (
    140             (is_plugin_active('wp-all-import-pro/wp-all-import-pro.php')
    141             || is_plugin_active('wp-all-export/wp-all-export.php'))
    142             && in_array($plugin_page, ['pmxe-admin-export', 'pmxi-admin-import', 'pmxi-admin-manage'], true)
    143         ) {
     136        if (!($screen = get_current_screen()) || 'cf_cc_condition' !== $screen->post_type){
    144137            return;
    145138        }
     
    237230    public function enqueueStyles()
    238231    {
     232        if (!($screen = get_current_screen()) || 'cf_cc_condition' !== $screen->post_type){
     233            return;
     234        }
     235
    239236        wp_enqueue_style(
    240237            CF_CC_PLUGIN_SLUG . '-grid',
  • conditional-content-cf-lite/trunk/conditional-content-cf-lite.php

    r2550508 r2672353  
    77 * Plugin URI:        https://crowdfavorite.com
    88 * Description:       Display page sections and widgets based on configurable visibility rules.
    9  * Version:           2.1.0
     9 * Version:           2.1.1
    1010 * Author:            Crowd Favorite
    1111 * Author URI:        https://crowdfavorite.com
     
    6666define('CF_CC_PLUGIN_NAME', 'Conditional Content by Crowd Favorite');
    6767define('CF_CC_PLUGIN_SLUG', 'cf-conditional-content');
    68 define('CF_CC_PLUGIN_VERSION', '2.1.0');
     68define('CF_CC_PLUGIN_VERSION', '2.1.1');
    6969
    7070define('CF_CC_CPT_CONDITION', 'cf_cc_condition');
Note: See TracChangeset for help on using the changeset viewer.