[wp-trac] [WordPress Trac] #20219: GET - Too many redirects

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 12 22:44:54 UTC 2012


#20219: GET - Too many redirects
--------------------------+------------------------------
 Reporter:  Workshopshed  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by kawauso):

 Is

    {{{if ( $r['redirection']-- > 0 )}}}

 equivalent to

    {{{if ( $r['redirection'] > 1 )}}}

 and if so, can we use the latter for readability's sake?

 Also there's a typo in the WP_Error error string.

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


More information about the wp-trac mailing list