[wp-trac] [WordPress Trac] #39671: Customize: Further improve inline documentation
WordPress Trac
noreply at wordpress.org
Mon Feb 13 08:00:21 UTC 2017
#39671: Customize: Further improve inline documentation
----------------------------------------+-------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: good-first-bug needs-patch | Focuses: docs
----------------------------------------+-------------------
Comment (by grapplerulrich):
This looks really good. It is going to make live so much easier.
The documentation in core for `$sanitize_js_callback` has not been fully
clear. Instead of "Callback to filter a Customize setting value for use in
Javascript" perhaps "Callback to convert a Customize PHP setting value to
a value that is JSON serializable."
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39671#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list