[wp-trac] [WordPress Trac] #30753: wp_parse_str() improperly casts boolean querystring values as strings

WordPress Trac noreply at wordpress.org
Sat Jan 31 02:01:48 UTC 2015


#30753: wp_parse_str() improperly casts boolean querystring values as strings
--------------------------+------------------------------
 Reporter:  r-a-y         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  2.2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"31310"]:
 {{{
 #!CommitTicketReference repository="" revision="31310"
 Add a unit test that expects wp_parse_args() to treat `'true'` and
 `'false'` in a query string as strings.

 props voldemortensen for initial patch.
 see #30753.
 }}}

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


More information about the wp-trac mailing list