Changeset 6026 for trunk/wp-includes/bookmark.php
- Timestamp:
- 09/03/2007 11:32:58 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/bookmark.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/bookmark.php
r6025 r6026 46 46 47 47 $defaults = array( 48 'orderby' => 'name', 'order' => 'ASC', 49 'limit' => -1, 'category' => '', 50 'category_name' => '', 'hide_invisible' => 1, 51 'show_updated' => 0, 'include' => '', 48 'orderby' => 'name', 'order' => 'ASC', 49 'limit' => -1, 'category' => '', 50 'category_name' => '', 'hide_invisible' => 1, 51 'show_updated' => 0, 'include' => '', 52 52 'exclude' => '' 53 53 ); … … 95 95 96 96 if ( ! empty($category_name) ) { 97 if ( $category = get_term_by('name', $category_name, 'link_category') ) 97 if ( $category = get_term_by('name', $category_name, 'link_category') ) 98 98 $category = $category->term_id; 99 99 } … … 174 174 $bookmark->$field = sanitize_bookmark_field($field, $bookmark->$field, $bookmark->link_id, $context); 175 175 else 176 $bookmark[$field] = sanitize_bookmark_field($field, $bookmark[$field], $bookmark['link_id'], $context); 176 $bookmark[$field] = sanitize_bookmark_field($field, $bookmark[$field], $bookmark['link_id'], $context); 177 177 } 178 178 … … 192 192 $targets = array('_top', '_blank'); 193 193 if ( ! in_array($value, $targets) ) 194 $value = ''; 194 $value = ''; 195 195 } 196 196
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)