wp-includes/bookmark.php 1 location
|
@@ 399-403 (lines=5) @@
|
396 |
|
/** This filter is documented in wp-includes/post.php */ |
397 |
|
$value = apply_filters( $field, $value, $bookmark_id, $context ); |
398 |
|
|
399 |
|
if ( 'attribute' == $context ) { |
400 |
|
$value = esc_attr( $value ); |
401 |
|
} elseif ( 'js' == $context ) { |
402 |
|
$value = esc_js( $value ); |
403 |
|
} |
404 |
|
} |
405 |
|
|
406 |
|
return $value; |
wp-includes/post.php 1 location
|
@@ 1975-1979 (lines=5) @@
|
1972 |
|
$value = apply_filters( "post_{$field}", $value, $post_id, $context ); |
1973 |
|
} |
1974 |
|
|
1975 |
|
if ( 'attribute' == $context ) { |
1976 |
|
$value = esc_attr( $value ); |
1977 |
|
} elseif ( 'js' == $context ) { |
1978 |
|
$value = esc_js( $value ); |
1979 |
|
} |
1980 |
|
} |
1981 |
|
|
1982 |
|
return $value; |
wp-includes/taxonomy.php 1 location
|
@@ 1670-1674 (lines=5) @@
|
1667 |
|
$value = apply_filters( "{$taxonomy}_{$field}", $value, $term_id, $context ); |
1668 |
|
} |
1669 |
|
|
1670 |
|
if ( 'attribute' == $context ) { |
1671 |
|
$value = esc_attr($value); |
1672 |
|
} elseif ( 'js' == $context ) { |
1673 |
|
$value = esc_js($value); |
1674 |
|
} |
1675 |
|
return $value; |
1676 |
|
} |
1677 |
|
|
wp-includes/user.php 1 location
|
@@ 1221-1225 (lines=5) @@
|
1218 |
|
if ( 'user_url' == $field ) |
1219 |
|
$value = esc_url($value); |
1220 |
|
|
1221 |
|
if ( 'attribute' == $context ) { |
1222 |
|
$value = esc_attr( $value ); |
1223 |
|
} elseif ( 'js' == $context ) { |
1224 |
|
$value = esc_js( $value ); |
1225 |
|
} |
1226 |
|
return $value; |
1227 |
|
} |
1228 |
|
|