WordPress.org

Make WordPress Core

Changeset 4178


Ignore:
Timestamp:
09/09/2006 01:09:21 AM (13 years ago)
Author:
ryan
Message:

We no longer need the outer array.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r4174 r4178  
    249249    $wpdb->query("UPDATE $wpdb->options SET option_value = '$newvalue' WHERE option_name = '$option_name'");
    250250    if ( $wpdb->rows_affected == 1 ) {
    251         do_action("update_option_{$option_name}", array('old'=>$oldvalue, 'new'=>$_newvalue));
     251        do_action("update_option_{$option_name}", $oldvalue, $_newvalue);
    252252        return true;
    253253    }
Note: See TracChangeset for help on using the changeset viewer.