[wp-trac] [WordPress Trac] #21989: update_option() calls sanitize_option() twice when option does not exist

WordPress Trac noreply at wordpress.org
Mon Jul 28 15:21:03 UTC 2014


#21989: update_option() calls sanitize_option() twice when option does not exist
-------------------------------------------------+-------------------------
 Reporter:  MikeSchinkel                         |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Options, Meta APIs                   |  Release
 Severity:  normal                               |     Version:
 Keywords:  dev-feedback has-patch needs-        |  Resolution:
  testing 4.1-early                              |     Focuses:
-------------------------------------------------+-------------------------
Changes (by DrewAPicture):

 * keywords:  dev-feedback has-patch needs-testing => dev-feedback has-patch
     needs-testing 4.1-early
 * milestone:  4.0 => Future Release


Comment:

 I agree we should fix this, though not this late, and there doesn't seem
 to be a consensus. Let's try for it in 4.1 early.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21989#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list