Changeset 53232
- Timestamp:
- 04/20/2022 11:17:05 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install-helper.php
r47786 r53232 163 163 * @global wpdb $wpdb WordPress database abstraction object. 164 164 * 165 * @param string $table_name Database table name.166 * @param string $col_name Table column name.167 * @param string $col_type Table column type.168 * @param bool $is_null Optional. Check is null.169 * @param mixed $key Optional. Key info.170 * @param mixed $default 171 * @param mixed $extra Optional. Extra value.165 * @param string $table_name Database table name. 166 * @param string $col_name Table column name. 167 * @param string $col_type Table column type. 168 * @param bool $is_null Optional. Check is null. 169 * @param mixed $key Optional. Key info. 170 * @param mixed $default_value Optional. Default value. 171 * @param mixed $extra Optional. Extra value. 172 172 * @return bool True, if matches. False, if not matching. 173 173 */ 174 function check_column( $table_name, $col_name, $col_type, $is_null = null, $key = null, $default = null, $extra = null ) {174 function check_column( $table_name, $col_name, $col_type, $is_null = null, $key = null, $default_value = null, $extra = null ) { 175 175 global $wpdb; 176 176 … … 192 192 ++$diffs; 193 193 } 194 if ( ( null !== $default ) && ( $row->Default !== $default) ) {194 if ( ( null !== $default_value ) && ( $row->Default !== $default_value ) ) { 195 195 ++$diffs; 196 196 }
Note: See TracChangeset
for help on using the changeset viewer.