WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#6317 closed defect (bug) (invalid)

functions.php -> update_option() error?

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: minor Version: 2.5
Component: General Keywords:
Focuses: Cc:
PR Number:

Description

this line:

do_action( "update_option_{$option_name}", $oldvalue, $_newvalue );

shouldn't it be:

do_action( "update_option_{$option_name}", $oldvalue, $newvalue );

?

there is no trace of $_newvalue anywhere...

Change History (3)

#1 @mdawaffe
12 years ago

  • Milestone 2.5 deleted
  • Resolution set to invalid
  • Status changed from new to closed

#2 @Denis-de-Bernardy
12 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

huh?

#3 @Denis-de-Bernardy
12 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

doh, nevermind... :)

Note: See TracTickets for help on using tickets.