[wp-trac] [WordPress Trac] #32351: sanitize_option desperately needs unit tests

WordPress Trac noreply at wordpress.org
Wed Jun 3 23:06:41 UTC 2015


#32351: sanitize_option desperately needs unit tests
----------------------------------------+-----------------------------
 Reporter:  chriscct7                   |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Formatting                  |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:
----------------------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:  good-first-bug has-patch dev-feedback => good-first-bug needs-
     patch


Comment:

 This could be reduced down to one test with a data provider, for brevity.

 jeremyfelt actually did this recently for `update_site_option()`
 sanitization in [32634].

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


More information about the wp-trac mailing list