Version Description
- Bugfix: Issue #8 - Filters for WP Editor Widget content wasn't always loaded (since 0.5.0)
Download this release
Release Info
Developer | feedmeastraycat |
Plugin | WP Editor Widget |
Version | 0.5.3 |
Comparing to | |
See all releases |
Code changes from version 0.5.2 to 0.5.3
- readme.txt +6 -3
- wp-editor-widget.php +9 -9
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: feedmeastraycat
|
3 |
Tags: widget, wysiwyg, editor, rich text
|
4 |
Requires at least: 3.5.1
|
5 |
-
Tested up to: 3.9.
|
6 |
-
Stable tag: 0.5.
|
7 |
License: MIT
|
8 |
|
9 |
WP Editor Widget adds a rich text widget where the content is edited using the standard WordPress visual editor.
|
@@ -32,8 +32,11 @@ Feel free to help with developement or issue reporting on [Github](https://githu
|
|
32 |
|
33 |
== Changelog ==
|
34 |
|
|
|
|
|
|
|
35 |
= 0.5.2 =
|
36 |
-
* [Issue #27853](https://core.trac.wordpress.org/ticket/27853) has been fixed in WP 3.9.1, this change makes sure that the fix from last version only is active on WP 3.9 and earlier
|
37 |
|
38 |
= 0.5.1 =
|
39 |
* Bugfix: Couldn't switch to plain text on customize.php ([Issue #27853](https://core.trac.wordpress.org/ticket/27853))
|
2 |
Contributors: feedmeastraycat
|
3 |
Tags: widget, wysiwyg, editor, rich text
|
4 |
Requires at least: 3.5.1
|
5 |
+
Tested up to: 3.9.1
|
6 |
+
Stable tag: 0.5.3
|
7 |
License: MIT
|
8 |
|
9 |
WP Editor Widget adds a rich text widget where the content is edited using the standard WordPress visual editor.
|
32 |
|
33 |
== Changelog ==
|
34 |
|
35 |
+
= 0.5.3 =
|
36 |
+
* Bugfix: [Issue #8](https://github.com/feedmeastraycat/wp-editor-widget/issues/8) - Filters for WP Editor Widget content wasn't always loaded *(since 0.5.0)*
|
37 |
+
|
38 |
= 0.5.2 =
|
39 |
+
* [WP Core Issue #27853](https://core.trac.wordpress.org/ticket/27853) has been fixed in WP 3.9.1, this change makes sure that the fix from last version only is active on WP 3.9 and earlier
|
40 |
|
41 |
= 0.5.1 =
|
42 |
* Bugfix: Couldn't switch to plain text on customize.php ([Issue #27853](https://core.trac.wordpress.org/ticket/27853))
|
wp-editor-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Editor Widget
|
|
4 |
Plugin URI: https://github.com/feedmeastraycat/wp-editor-widget
|
5 |
Description: WP Editor Widget adds a WYSIWYG widget using the wp_editor().
|
6 |
Author: David Mårtensson, Odd Alice
|
7 |
-
Version: 0.5.
|
8 |
Author URI: http://www.feedmeastraycat.net/
|
9 |
Text Domain: wp-editor-widget
|
10 |
Domain Path: /langs
|
@@ -27,7 +27,7 @@ class WPEditorWidget {
|
|
27 |
/**
|
28 |
* @var string
|
29 |
*/
|
30 |
-
const VERSION = "0.5.
|
31 |
|
32 |
/**
|
33 |
* Action: init
|
@@ -41,6 +41,13 @@ class WPEditorWidget {
|
|
41 |
add_action( 'customize_controls_print_footer_scripts', array( $this, 'output_wp_editor_widget_html' ), 1 );
|
42 |
add_action( 'customize_controls_print_footer_scripts', array( $this, 'customize_controls_print_footer_scripts' ), 2 );
|
43 |
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
} // END __construct()
|
46 |
|
@@ -56,13 +63,6 @@ class WPEditorWidget {
|
|
56 |
wp_register_style( 'wp-editor-widget-css', plugins_url( 'assets/css/admin.css', __FILE__ ), array(), self::VERSION );
|
57 |
wp_enqueue_style( 'wp-editor-widget-css' );
|
58 |
|
59 |
-
add_filter( 'wp_editor_widget_content', 'wptexturize' );
|
60 |
-
add_filter( 'wp_editor_widget_content', 'convert_smilies' );
|
61 |
-
add_filter( 'wp_editor_widget_content', 'convert_chars' );
|
62 |
-
add_filter( 'wp_editor_widget_content', 'wpautop' );
|
63 |
-
add_filter( 'wp_editor_widget_content', 'shortcode_unautop' );
|
64 |
-
add_filter( 'wp_editor_widget_content', 'do_shortcode', 11 );
|
65 |
-
|
66 |
} // END load_admin_assets()
|
67 |
|
68 |
/**
|
4 |
Plugin URI: https://github.com/feedmeastraycat/wp-editor-widget
|
5 |
Description: WP Editor Widget adds a WYSIWYG widget using the wp_editor().
|
6 |
Author: David Mårtensson, Odd Alice
|
7 |
+
Version: 0.5.3
|
8 |
Author URI: http://www.feedmeastraycat.net/
|
9 |
Text Domain: wp-editor-widget
|
10 |
Domain Path: /langs
|
27 |
/**
|
28 |
* @var string
|
29 |
*/
|
30 |
+
const VERSION = "0.5.3";
|
31 |
|
32 |
/**
|
33 |
* Action: init
|
41 |
add_action( 'customize_controls_print_footer_scripts', array( $this, 'output_wp_editor_widget_html' ), 1 );
|
42 |
add_action( 'customize_controls_print_footer_scripts', array( $this, 'customize_controls_print_footer_scripts' ), 2 );
|
43 |
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
|
44 |
+
|
45 |
+
add_filter( 'wp_editor_widget_content', 'wptexturize' );
|
46 |
+
add_filter( 'wp_editor_widget_content', 'convert_smilies' );
|
47 |
+
add_filter( 'wp_editor_widget_content', 'convert_chars' );
|
48 |
+
add_filter( 'wp_editor_widget_content', 'wpautop' );
|
49 |
+
add_filter( 'wp_editor_widget_content', 'shortcode_unautop' );
|
50 |
+
add_filter( 'wp_editor_widget_content', 'do_shortcode', 11 );
|
51 |
|
52 |
} // END __construct()
|
53 |
|
63 |
wp_register_style( 'wp-editor-widget-css', plugins_url( 'assets/css/admin.css', __FILE__ ), array(), self::VERSION );
|
64 |
wp_enqueue_style( 'wp-editor-widget-css' );
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
} // END load_admin_assets()
|
67 |
|
68 |
/**
|