Changeset 47122 for trunk/src/wp-admin/install-helper.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install-helper.php
r47060 r47122 19 19 * $tablename = $wpdb->links; 20 20 * // Check the column. 21 * if ( ! check_column( $wpdb->links, 'link_description', 'varchar( 255 )' ) ) {21 * if ( ! check_column( $wpdb->links, 'link_description', 'varchar( 255 )' ) ) { 22 22 * $ddl = "ALTER TABLE $wpdb->links MODIFY COLUMN link_description varchar(255) NOT NULL DEFAULT '' "; 23 23 * $q = $wpdb->query( $ddl ); … … 195 195 } 196 196 return true; 197 } // end if found our column197 } // End if found our column. 198 198 } 199 199 return false;
Note: See TracChangeset
for help on using the changeset viewer.