Changeset 5119
- Timestamp:
- 03/27/2007 11:45:41 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r5118 r5119 491 491 $user->user_email = wp_specialchars( trim( $_POST['email'] )); 492 492 if ( isset( $_POST['url'] ) ) { 493 $user->user_url = wp_specialchars( trim( $_POST['url'] ));493 $user->user_url = clean_url( trim( $_POST['url'] )); 494 494 $user->user_url = preg_match('/^(https?|ftps?|mailto|news|irc|gopher|nntp|feed|telnet):/is', $user->user_url) ? $user->user_url : 'http://'.$user->user_url; 495 495 } -
trunk/wp-includes/bookmark.php
r4953 r5119 4 4 global $wpdb; 5 5 6 $bookmark_id = (int) $bookmark_id; 6 7 $link = $wpdb->get_row("SELECT * FROM $wpdb->links WHERE link_id = '$bookmark_id'"); 7 8 $link->link_category = wp_get_link_cats($bookmark_id); -
trunk/wp-includes/category.php
r5112 r5119 151 151 $_category = $category; 152 152 } else { 153 $category = (int) $category; 153 154 if ( ! $_category = wp_cache_get($category, 'category') ) { 154 155 $_category = $wpdb->get_row("SELECT * FROM $wpdb->categories WHERE cat_ID = '$category' LIMIT 1"); -
trunk/wp-includes/comment.php
r5089 r5119 82 82 $_comment = & $comment_cache[$comment->comment_ID]; 83 83 } else { 84 $comment = (int) $comment; 84 85 if ( !isset($comment_cache[$comment]) ) { 85 86 $_comment = $wpdb->get_row("SELECT * FROM $wpdb->comments WHERE comment_ID = '$comment' LIMIT 1");
Note: See TracChangeset
for help on using the changeset viewer.