[wp-trac] [WordPress Trac] #43327: sanitize_option call twice

WordPress Trac noreply at wordpress.org
Thu Feb 15 03:12:44 UTC 2018


#43327: sanitize_option call twice
--------------------------------+-----------------------------
 Reporter:  shamim51            |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43327>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list