Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#43327 closed defect (bug) (duplicate)

sanitize_option call twice

Reported by: shamim51's profile shamim51 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords:
Focuses: Cc:

Description

When update_option is called but did not have that option, then it automatically call to add_option. but sanitize_option call in update_option and again in add_option.

Change History (1)

#1 @ocean90
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #21989.

Note: See TracTickets for help on using tickets.