mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
Widgets: add a default filter for widget_text
(used by the Text widget), balanceTags
, which respects the option for use_balanceTags
.
Props MikeHansenMe. Fixes #23083. Built from https://develop.svn.wordpress.org/trunk@35103 git-svn-id: http://core.svn.wordpress.org/trunk@35068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aa92c9555a
commit
2e6865a7fb
@ -157,6 +157,8 @@ add_filter( 'list_cats', 'wptexturize' );
|
|||||||
|
|
||||||
add_filter( 'wp_sprintf', 'wp_sprintf_l', 10, 2 );
|
add_filter( 'wp_sprintf', 'wp_sprintf_l', 10, 2 );
|
||||||
|
|
||||||
|
add_filter( 'widget_text', 'balanceTags' );
|
||||||
|
|
||||||
// RSS filters
|
// RSS filters
|
||||||
add_filter( 'the_title_rss', 'strip_tags' );
|
add_filter( 'the_title_rss', 'strip_tags' );
|
||||||
add_filter( 'the_title_rss', 'ent2ncr', 8 );
|
add_filter( 'the_title_rss', 'ent2ncr', 8 );
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35102';
|
$wp_version = '4.4-alpha-35103';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user