[wp-trac] [WordPress Trac] #33756: Improve docs for sanitize_title()
WordPress Trac
noreply at wordpress.org
Sun Nov 12 17:53:32 UTC 2017
#33756: Improve docs for sanitize_title()
--------------------------------------+-----------------------------
Reporter: ericlewis | Owner: psdtohtmlguru
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses: docs
--------------------------------------+-----------------------------
Changes (by ebinnion):
* keywords: needs-patch good-first-bug => good-first-bug has-patch
Comment:
@tim1602 and I worked on another possible solution at contributor day at
WordCamp DFW 2017.
Since some of the pushback in early patches seemed to be that we weren't
handling all of the cases of sanitize_title(), for example how it's used
in URLs in some cases, and attributes in others... It seemed like it might
be best to stay ambiguous and then mention URLs and attributes as
examples.
We also tried to expand on the long description by mentioning the
sanitize_title filter and the default output.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33756#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list