WordPress.org

Make WordPress Core

#43327 closed defect (bug) (duplicate)

sanitize_option call twice

Reported by: shamim51 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords:
Focuses: Cc:
PR Number:

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
20 months 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.