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

WordPress Trac noreply at wordpress.org
Sun Mar 30 18:17:32 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 tollmanz):

 Replying to [comment:2 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?

 I think that this is something that should be addressed in another ticket.
 I think it is a valid point and something to think about, but it does not
 relate directly to the issue at hand.

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

More information about the wp-trac mailing list