Changeset 52479 for branches/4.4/src/wp-admin/includes/upgrade.php
- Timestamp:
- 01/06/2022 06:18:04 PM (4 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/includes/upgrade.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
- Property svn:mergeinfo changed
/trunk merged: 52454-52457
- Property svn:mergeinfo changed
-
branches/4.4/src/wp-admin/includes/upgrade.php
r37936 r52479 1217 1217 while( $rows = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options ORDER BY option_id LIMIT $start, 20" ) ) { 1218 1218 foreach ( $rows as $row ) { 1219 $value = $row->option_value;1220 if ( !@unserialize( $value ))1219 $value = maybe_unserialize( $row->option_value ); 1220 if ( $value === $row->option_value ) 1221 1221 $value = stripslashes( $value ); 1222 1222 if ( $value !== $row->option_value ) {
Note: See TracChangeset
for help on using the changeset viewer.