Fix deprecated arg. in safecss_filter_attr(), for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@11699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-07-08 09:54:34 +00:00
parent de15aa372d
commit 49f9fb716c
1 changed files with 2 additions and 2 deletions

View File

@ -536,7 +536,7 @@ function wp_kses_attr($element, $attr, $allowed_html, $allowed_protocols) {
if ( $arreach['name'] == 'style' ) {
$orig_value = $arreach['value'];
$value = safecss_filter_attr($orig_value, $element);
$value = safecss_filter_attr($orig_value);
if ( empty($value) )
continue;
@ -1148,7 +1148,7 @@ function kses_init() {
add_action('init', 'kses_init');
add_action('set_current_user', 'kses_init');
function safecss_filter_attr( $css, $element ) {
function safecss_filter_attr( $css, $deprecated = '' ) {
$css = wp_kses_no_null($css);
$css = str_replace(array("\n","\r","\t"), '', $css);