equal
deleted
inserted
replaced
58 // For each link id (in $linkcheck[]) change category to selected value. |
58 // For each link id (in $linkcheck[]) change category to selected value. |
59 if ( count( $linkcheck ) === 0 ) { |
59 if ( count( $linkcheck ) === 0 ) { |
60 wp_redirect( $this_file ); |
60 wp_redirect( $this_file ); |
61 exit; |
61 exit; |
62 } |
62 } |
63 $all_links = join( ',', $linkcheck ); |
63 $all_links = implode( ',', $linkcheck ); |
64 /* |
64 /* |
65 * Should now have an array of links we can change: |
65 * Should now have an array of links we can change: |
66 * $q = $wpdb->query("update $wpdb->links SET link_category='$category' WHERE link_id IN ($all_links)"); |
66 * $q = $wpdb->query("update $wpdb->links SET link_category='$category' WHERE link_id IN ($all_links)"); |
67 */ |
67 */ |
68 |
68 |