mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Recommend the wp_kses_allowed_html filter over CUSTOM_TAGS. Soft deprecate CUSTOM_TAGS. see #17977, #20210.
git-svn-id: http://core.svn.wordpress.org/trunk@21796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ed375f4106
commit
40543db45f
@ -34,6 +34,11 @@
|
|||||||
/**
|
/**
|
||||||
* You can override this in a plugin.
|
* You can override this in a plugin.
|
||||||
*
|
*
|
||||||
|
* The wp_kses_allowed_html filter is more powerful and supplies context.
|
||||||
|
* CUSTOM_TAGS is not recommended and should be considered deprecated.
|
||||||
|
*
|
||||||
|
* @see wp_kses_allowed_html()
|
||||||
|
*
|
||||||
* @since 1.2.0
|
* @since 1.2.0
|
||||||
*/
|
*/
|
||||||
if ( ! defined( 'CUSTOM_TAGS' ) )
|
if ( ! defined( 'CUSTOM_TAGS' ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user