Make WordPress Core


Ignore:
Timestamp:
07/17/2014 09:13:53 AM (11 years ago)
Author:
DrewAPicture
Message:

Fix syntax for single- and multi-line comments in wp-admin-directory files.

See #28931.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/link.php

    r28307 r29206  
    3131        check_admin_referer('bulk-bookmarks');
    3232
    33         //for each link id (in $linkcheck[]) change category to selected value
     33        // For each link id (in $linkcheck[]) change category to selected value.
    3434        if (count($linkcheck) == 0) {
    3535            wp_redirect($this_file);
     
    5151        check_admin_referer('bulk-bookmarks');
    5252
    53         //for each link id (in $linkcheck[]) change category to selected value
     53        // For each link id (in $linkcheck[]) change category to selected value.
    5454        if (count($linkcheck) == 0) {
    5555            wp_redirect($this_file);
     
    5757        }
    5858        $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         */
    6163
    6264        wp_redirect($this_file);
Note: See TracChangeset for help on using the changeset viewer.