TinyMCE Advanced - Version 4.2.3.1

Version Description

  • Fix error with removing the 'textpattern' plugin.
Download this release

Release Info

Developer azaozz
Plugin Icon 128x128 TinyMCE Advanced
Version 4.2.3.1
Comparing to
See all releases

Code changes from version 4.2.3 to 4.2.3.1

Files changed (2) hide show
  1. readme.txt +4 -1
  2. tinymce-advanced.php +4 -1
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: azaozz
3
  Tags: wysiwyg, formatting, tinymce, write, editor
4
  Requires at least: 4.3
5
  Tested up to: 4.3
6
- Stable tag: 4.2.3
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -30,6 +30,9 @@ Best is to install directly from WordPress. If manual installation is required,
30
 
31
  == Changelog ==
32
 
 
 
 
33
  = 4.2.3 =
34
  * Updated for WordPress 4.3 and TinyMCE 4.2.3.
35
  * Removed the 'textpattern' plugin as WordPress 4.3 includes similar functionality by default.
3
  Tags: wysiwyg, formatting, tinymce, write, editor
4
  Requires at least: 4.3
5
  Tested up to: 4.3
6
+ Stable tag: 4.2.3.1
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
30
 
31
  == Changelog ==
32
 
33
+ = 4.2.3.1 =
34
+ * Fix error with removing the 'textpattern' plugin.
35
+
36
  = 4.2.3 =
37
  * Updated for WordPress 4.3 and TinyMCE 4.2.3.
38
  * Removed the 'textpattern' plugin as WordPress 4.3 includes similar functionality by default.
tinymce-advanced.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: TinyMCE Advanced
4
  Plugin URI: http://www.laptoptips.ca/projects/tinymce-advanced/
5
  Description: Enables advanced features and plugins in TinyMCE, the visual editor in WordPress.
6
- Version: 4.2.3
7
  Author: Andrew Ozz
8
  Author URI: http://www.laptoptips.ca/
9
 
@@ -49,6 +49,7 @@ class Tinymce_Advanced {
49
  'table',
50
  'visualblocks',
51
  'visualchars',
 
52
  );
53
 
54
  private $default_settings = array(
@@ -514,6 +515,8 @@ class Tinymce_Advanced {
514
  $this->plugins[] = 'wptadv';
515
  }
516
 
 
 
517
  $plugpath = TADV_URL . 'mce/';
518
  $mce_plugins = (array) $mce_plugins;
519
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
3
  Plugin Name: TinyMCE Advanced
4
  Plugin URI: http://www.laptoptips.ca/projects/tinymce-advanced/
5
  Description: Enables advanced features and plugins in TinyMCE, the visual editor in WordPress.
6
+ Version: 4.2.3.1
7
  Author: Andrew Ozz
8
  Author URI: http://www.laptoptips.ca/
9
 
49
  'table',
50
  'visualblocks',
51
  'visualchars',
52
+ 'wptadv',
53
  );
54
 
55
  private $default_settings = array(
515
  $this->plugins[] = 'wptadv';
516
  }
517
 
518
+ $this->plugins = array_intersect( $this->plugins, $this->all_plugins );
519
+
520
  $plugpath = TADV_URL . 'mce/';
521
  $mce_plugins = (array) $mce_plugins;
522
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';