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:
Andrew Nacin 2012-09-10 18:00:41 +00:00
parent ed375f4106
commit 40543db45f

View File

@ -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' ) )