WordPress.org

Make WordPress Core

Ticket #3394: functions.patch

File functions.patch, 415 bytes (added by Viper007Bond, 11 years ago)
  • wp-includes/functions.php

     
    265265
    266266        // If the new and old values are the same, no need to update.
    267267        $oldvalue = get_option($option_name);
    268         if ( $newvalue == $oldvalue ) {
     268        if ( $newvalue === $oldvalue ) {
    269269                return false;
    270270        }
    271271