[wp-trac] [WordPress Trac] #33756: Improve docs for sanitize_title()

WordPress Trac noreply at wordpress.org
Thu Sep 10 18:38:32 UTC 2015


#33756: Improve docs for sanitize_title()
-------------------------------+---------------------------
 Reporter:  ericlewis          |       Owner:  DrewAPicture
     Type:  defect (bug)       |      Status:  reviewing
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+---------------------------

Comment (by wonderboymusic):

 `Sanitizes a string for use as a slug in a URL.` is incomplete. Also
 sanitizes for use as HTML id or class attribute value. There may be other
 uses...

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33756#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list