Changeset 29206 for trunk/src/wp-admin/link.php
- Timestamp:
- 07/17/2014 09:13:53 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/link.php
r28307 r29206 31 31 check_admin_referer('bulk-bookmarks'); 32 32 33 // for each link id (in $linkcheck[]) change category to selected value33 // For each link id (in $linkcheck[]) change category to selected value. 34 34 if (count($linkcheck) == 0) { 35 35 wp_redirect($this_file); … … 51 51 check_admin_referer('bulk-bookmarks'); 52 52 53 // for each link id (in $linkcheck[]) change category to selected value53 // For each link id (in $linkcheck[]) change category to selected value. 54 54 if (count($linkcheck) == 0) { 55 55 wp_redirect($this_file); … … 57 57 } 58 58 $all_links = join(',', $linkcheck); 59 // should now have an array of links we can change 60 //$q = $wpdb->query("update $wpdb->links SET link_category='$category' WHERE link_id IN ($all_links)"); 59 /* 60 * Should now have an array of links we can change: 61 * $q = $wpdb->query("update $wpdb->links SET link_category='$category' WHERE link_id IN ($all_links)"); 62 */ 61 63 62 64 wp_redirect($this_file);
Note: See TracChangeset
for help on using the changeset viewer.