diff --git src/wp-includes/option.php src/wp-includes/option.php
index 82625f7..4b8889b 100644
|
|
function update_option( $option, $value, $autoload = null ) { |
296 | 296 | $value = apply_filters( 'pre_update_option', $value, $option, $old_value ); |
297 | 297 | |
298 | 298 | // If the new and old values are the same, no need to update. |
299 | | if ( $value === $old_value ) |
| 299 | if ( maybe_serialize( $value ) === maybe_serialize( $old_value ) ) { |
300 | 300 | return false; |
| 301 | } |
301 | 302 | |
302 | 303 | /** This filter is documented in wp-includes/option.php */ |
303 | 304 | if ( apply_filters( 'default_option_' . $option, false, $option, false ) === $old_value ) { |