Changeset 52481 for branches/4.2/src/wp-admin/includes/upgrade.php
- Timestamp:
- 01/06/2022 06:19:36 PM (4 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/includes/upgrade.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
- Property svn:mergeinfo changed
/trunk merged: 52454-52457
- Property svn:mergeinfo changed
-
branches/4.2/src/wp-admin/includes/upgrade.php
r37939 r52481 1164 1164 while( $rows = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options ORDER BY option_id LIMIT $start, 20" ) ) { 1165 1165 foreach( $rows as $row ) { 1166 $value = $row->option_value;1167 if ( !@unserialize( $value ))1166 $value = maybe_unserialize( $row->option_value ); 1167 if ( $value === $row->option_value ) 1168 1168 $value = stripslashes( $value ); 1169 1169 if ( $value !== $row->option_value ) {
Note: See TracChangeset
for help on using the changeset viewer.