Changes in trunk/wp-includes/bookmark.php [14239:17146]
- File:
-
- 1 edited
-
trunk/wp-includes/bookmark.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/bookmark.php
r14239 r17146 8 8 9 9 /** 10 * Retrieve Bookmark data based on ID10 * Retrieve Bookmark data 11 11 * 12 12 * @since 2.1.0 13 13 * @uses $wpdb Database Object 14 14 * 15 * @param int $bookmark_id15 * @param mixed $bookmark 16 16 * @param string $output Optional. Either OBJECT, ARRAY_N, or ARRAY_A constant 17 17 * @param string $filter Optional, default is 'raw'. … … 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);
Note: See TracChangeset
for help on using the changeset viewer.