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

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

 Replying to [comment:5 SergeyBiryukov]:
 > Looks like it does, see [20910].

 `_sanitize_header_textcolor()` checks the return value of
 `sanitize_hex_color_no_hash()` with `empty()` though:
 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-
 customize-manager.php#L1080 Source].

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


More information about the wp-trac mailing list