Plugin Directory

Changeset 2752188


Ignore:
Timestamp:
07/05/2022 05:17:01 PM (4 years ago)
Author:
marcochiesi
Message:

Fixed compatibility issue with Toolset Types WYSIWYG fields

Location:
black-studio-tinymce-widget/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • black-studio-tinymce-widget/trunk/black-studio-tinymce-widget.php

    r2750754 r2752188  
    44Plugin URI: https://wordpress.org/plugins/black-studio-tinymce-widget/
    55Description: Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor.
    6 Version: 2.7.1
     6Version: 2.7.2
    77Author: Black Studio
    88Author URI: https://www.blackstudio.it
     
    3636         * @since 2.0.0
    3737         */
    38         public static $version = '2.7.1';
     38        public static $version = '2.7.2';
    3939
    4040        /**
  • black-studio-tinymce-widget/trunk/includes/class-admin.php

    r2750754 r2752188  
    223223            $this->enqueue_script();
    224224            $this->localize_script();
    225             do_action( 'wp_enqueue_editor', array( 'tinymce' => true ) );
     225            if ( function_exists( 'wp_enqueue_editor' ) ) {
     226                wp_enqueue_editor();
     227            }
     228            else {
     229                do_action( 'wp_enqueue_editor', array(
     230                    'tinymce'   => true,
     231                    'quicktags' => true,
     232                ) );
     233            }
    226234        }
    227235
  • black-studio-tinymce-widget/trunk/readme.txt

    r2750754 r2752188  
    66Tested up to: 6.0
    77Requires PHP: 5.2
    8 Stable tag: 2.7.1
     8Stable tag: 2.7.2
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl.html
     
    213213
    214214== Changelog ==
     215
     216= 2.7.2 (2022-07-05) =
     217* Fixed compatibility issue with Toolset Types WYSIWYG fields
    215218
    216219= 2.7.1 (2022-07-01) =
     
    553556== Upgrade Notice ==
    554557
    555 = 2.7.1 =
     558= 2.7.2 =
    556559Important: Always ensure to backup your database before upgrading.
Note: See TracChangeset for help on using the changeset viewer.