[wp-trac] [WordPress Trac] #27583: Move color sanitize function to wp-includes/formatting.php

WordPress Trac noreply at wordpress.org
Sun Mar 30 18:03:59 UTC 2014


#27583: Move color sanitize function to wp-includes/formatting.php
-------------------------------------+------------------------------
 Reporter:  tollmanz                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Formatting               |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  template
-------------------------------------+------------------------------

Comment (by obenland):

 I think it would be nice if we could make them always return an empty
 string if sanitization was unsuccessful.
 Does the null return value serve any specific purpose?

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


More information about the wp-trac mailing list