From 40543db45f6280d3a8e54671c0b48b0bbfb1915b Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 10 Sep 2012 18:00:41 +0000 Subject: [PATCH] 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 --- wp-includes/kses.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index a3fa334e7e..4c42134e7a 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -34,6 +34,11 @@ /** * 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 */ if ( ! defined( 'CUSTOM_TAGS' ) )