Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r47060 r47122  
    1919 *     $tablename = $wpdb->links;
    2020 *     // Check the column.
    21  *     if ( ! check_column($wpdb->links, 'link_description', 'varchar( 255 )' ) ) {
     21 *     if ( ! check_column( $wpdb->links, 'link_description', 'varchar( 255 )' ) ) {
    2222 *         $ddl = "ALTER TABLE $wpdb->links MODIFY COLUMN link_description varchar(255) NOT NULL DEFAULT '' ";
    2323 *         $q = $wpdb->query( $ddl );
     
    195195            }
    196196            return true;
    197         } // end if found our column
     197        } // End if found our column.
    198198    }
    199199    return false;
Note: See TracChangeset for help on using the changeset viewer.