Changeset 4178

Show
Ignore:
Timestamp:
09/09/06 01:09:21 (2 years ago)
Author:
ryan
Message:

We no longer need the outer array.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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    }