[wp-trac] [WordPress Trac] #33756: Improve docs for sanitize_title()
WordPress Trac
noreply at wordpress.org
Fri Jul 10 23:26:47 UTC 2020
#33756: Improve docs for sanitize_title()
--------------------------------------+----------------------------
Reporter: ericlewis | Owner: psdtohtmlguru
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Formatting | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses: docs
--------------------------------------+----------------------------
Changes (by whyisjake):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"48432" 48432]:
{{{
#!CommitTicketReference repository="" revision="48432"
Formatting: Improve the docblock for `sanitize_title()`.
Since sanitize title is largely used for html attributes, or post slugs,
make note that accents will be removed and that the string will be limited
to alphanumeric characters, underscores, and dashes.
Fixes #33756.
Props ericlewis, swissspidy, wonderboymusic, psdtohtmlguru, DrewAPicture,
SergeyBiryukov, sjmur, gma992, shulard, ebinnion, whyisjake.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33756#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list