Changeset 15315 for trunk/wp-admin/includes/bookmark.php
- Timestamp:
- 06/24/2010 03:01:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/bookmark.php
r13106 r15315 129 129 */ 130 130 function wp_insert_link( $linkdata, $wp_error = false ) { 131 global $wpdb , $current_user;131 global $wpdb; 132 132 133 133 $defaults = array( 'link_id' => 0, 'link_name' => '', 'link_url' => '', 'link_rating' => 0 ); … … 167 167 168 168 if ( empty( $link_owner ) ) 169 $link_owner = $current_user->id;169 $link_owner = get_current_user_id(); 170 170 171 171 if ( empty( $link_notes ) )
Note: See TracChangeset
for help on using the changeset viewer.