[wp-trac] [WordPress Trac] #38449: Twenty Seventeen: clean up excessive escaping in color-patterns.php

WordPress Trac noreply at wordpress.org
Fri Oct 28 21:52:40 UTC 2016


#38449: Twenty Seventeen: clean up excessive escaping in color-patterns.php
------------------------------+----------------------------
 Reporter:  celloexpressions  |       Owner:  davidakennedy
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  Bundled Theme     |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------------
Changes (by davidakennedy):

 * owner:   => davidakennedy
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38999"]:
 {{{
 #!CommitTicketReference repository="" revision="38999"
 Twenty Seventeen: Remove excessive escaping in `color-patterns.php`

 Uses `absint()` to escape when getting value. Removes `esc_attr` from each
 instance of the variable.

 Props fencer04.

 Fixes #38449.
 }}}

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


More information about the wp-trac mailing list