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

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


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

 * keywords:  has-patch 2nd-opinion => has-patch commit


Comment:

 I'm going to go ahead with simply moving the functions out of `class-wp-
 customize-manager.php` and into `formatting.php`
 ([attachment:27583.1.diff]), since this was basically missed when #33413
 broke out classes into their own separate PHP files.

 The other improvements to the functions can be done in another ticket, as
 suggested above.

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


More information about the wp-trac mailing list