Ticket #15454: 15454.diff
| File 15454.diff, 1.1 KB (added by , 16 years ago) |
|---|
-
wp-includes/taxonomy.php
1521 1521 $value = apply_filters("edit_term_{$field}", $value, $term_id, $taxonomy); 1522 1522 $value = apply_filters("edit_{$taxonomy}_{$field}", $value, $term_id); 1523 1523 if ( 'description' == $field ) 1524 $value = format_to_edit($value);1524 $value = esc_html($value); // textarea_escaped 1525 1525 else 1526 1526 $value = esc_attr($value); 1527 1527 } else if ( 'db' == $context ) { -
wp-includes/bookmark.php
334 334 return $value; 335 335 336 336 if ( 'edit' == $context ) { 337 $format_to_edit = array('link_notes');338 337 $value = apply_filters("edit_$field", $value, $bookmark_id); 339 338 340 if ( in_array($field, $format_to_edit) ) {341 $value = format_to_edit($value);339 if ( 'link_notes' == $field ) ) { 340 $value = esc_html( $value ); // textarea_escaped 342 341 } else { 343 342 $value = esc_attr($value); 344 343 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)