[wp-meta] [Making WordPress.org] #837: register_setting() page incorrectly refers to sanitization instead of validation

Making WordPress.org noreply at wordpress.org
Sat Jan 31 22:01:10 UTC 2015


#837: register_setting() page incorrectly refers to sanitization instead of
validation
------------------------+-------------------
Reporter:  McGuive7     |      Owner:
    Type:  defect       |     Status:  new
Priority:  low          |  Component:  Codex
Keywords:  needs-patch  |
------------------------+-------------------
 The .org page for `register_setting()`
 (http://codex.wordpress.org/Function_Reference/register_setting) refers to
 the third parameter as `$sanitize_callback`, however in truth what this
 callback does is actually validation. The parameter should be listed as
 `$validation_callback` IMO.

 Note: this is also present on the following page:
 http://codex.wordpress.org/Class_Reference/WP_Customize_Manager/add_setting

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/837>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list