[wp-trac] [WordPress Trac] #16942: Dead code in add_query_arg()

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 23 04:06:46 UTC 2011


#16942: Dead code in add_query_arg()
------------------------------+------------------------------
 Reporter:  hakre             |       Owner:
     Type:  defect            |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  General           |     Version:  3.1
 Severity:  trivial           |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------------------
Changes (by dd32):

 * keywords:  has-patch => has-patch commit
 * severity:  normal => trivial


Comment:

 Looks right with the edgecases of `?test` and `test.php?`, an empty item
 will be returned before, and after respectively, resulting in always
 having a count of 2.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16942#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list