[wp-meta] [Making WordPress.org] #837: register_setting() page incorrectly refers to sanitization instead of validation
Making WordPress.org
noreply at wordpress.org
Sun Feb 1 10:41:09 UTC 2015
#837: register_setting() page incorrectly refers to sanitization instead of
validation
-----------------------+-------------------------
Reporter: McGuive7 | Owner:
Type: defect | Status: closed
Priority: low | Component: Codex
Resolution: invalid | Keywords: needs-patch
-----------------------+-------------------------
Changes (by Otto42):
* status: new => closed
* resolution: => invalid
Comment:
Additionally, this parameter is called "sanitize_callback" in the actual
WordPress source code. The name is not chosen arbitrarily on the wiki page
or in the documentation.
While I agree that the difference between "sanitization" and "validation"
is a subtle one, this is what the code uses and how it defines it,
therefore it should be documented as such.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/837#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list