mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +00:00
Fix syntax for single- and multi-line comments in wp-admin-directory files.
See #28931. git-svn-id: https://develop.svn.wordpress.org/trunk@29206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -30,7 +30,7 @@ switch ($action) {
|
||||
case 'deletebookmarks' :
|
||||
check_admin_referer('bulk-bookmarks');
|
||||
|
||||
//for each link id (in $linkcheck[]) change category to selected value
|
||||
// For each link id (in $linkcheck[]) change category to selected value.
|
||||
if (count($linkcheck) == 0) {
|
||||
wp_redirect($this_file);
|
||||
exit;
|
||||
@@ -50,14 +50,16 @@ switch ($action) {
|
||||
case 'move' :
|
||||
check_admin_referer('bulk-bookmarks');
|
||||
|
||||
//for each link id (in $linkcheck[]) change category to selected value
|
||||
// For each link id (in $linkcheck[]) change category to selected value.
|
||||
if (count($linkcheck) == 0) {
|
||||
wp_redirect($this_file);
|
||||
exit;
|
||||
}
|
||||
$all_links = join(',', $linkcheck);
|
||||
// should now have an array of links we can change
|
||||
//$q = $wpdb->query("update $wpdb->links SET link_category='$category' WHERE link_id IN ($all_links)");
|
||||
/*
|
||||
* Should now have an array of links we can change:
|
||||
* $q = $wpdb->query("update $wpdb->links SET link_category='$category' WHERE link_id IN ($all_links)");
|
||||
*/
|
||||
|
||||
wp_redirect($this_file);
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user