[wp-trac] [WordPress Trac] #38465: `hide_empty` is not sanitized correctly in terms controller

WordPress Trac noreply at wordpress.org
Wed Oct 26 02:28:15 UTC 2016


#38465: `hide_empty` is not sanitized correctly in terms controller
--------------------------------------+--------------------------
 Reporter:  websupporter              |       Owner:  rachelbaker
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.7
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-unit-tests has-patch  |     Focuses:
--------------------------------------+--------------------------
Changes (by rachelbaker):

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


Comment:

 In [changeset:"38942"]:
 {{{
 #!CommitTicketReference repository="" revision="38942"
 REST API: Add missing sanitization callback for the `hide_empty` parameter
 of the Terms Controller.

 Fixes a bug where the boolean parameter `hide_empty` was not being
 properly sanitized in the Terms controller.

 Props websupporter.
 Fixes #38465.
 }}}

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


More information about the wp-trac mailing list