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

WordPress Trac noreply at wordpress.org
Thu Apr 21 19:21:44 UTC 2016


#27583: Move color sanitize function to wp-includes/formatting.php
------------------------------+--------------------------
 Reporter:  tollmanz          |       Owner:  westonruter
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.6
Component:  Formatting        |     Version:  3.4
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  template
------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37283"]:
 {{{
 #!CommitTicketReference repository="" revision="37283"
 Customize/Formatting: Move `sanitize_hex_color()`,
 `sanitize_hex_color_no_hash()`, and `maybe_hash_hex_color()` from `class-
 wp-customize-manager.php` into `formatting.php`.

 Adds missing braces.

 See #33413.
 Props downstairsdev, tollmanz.
 Fixes #27583.
 }}}

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


More information about the wp-trac mailing list