[wp-trac] [WordPress Trac] #10960: ?author=-N forwards to wrong canonical URL

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 15 13:16:57 UTC 2009

#10960: ?author=-N forwards to wrong canonical URL
 Reporter:  markjaquith   |        Owner:  markjaquith
     Type:  defect (bug)  |       Status:  closed     
 Priority:  high          |    Milestone:  2.9        
Component:  Canonical     |      Version:  2.8.4      
 Severity:  major         |   Resolution:  fixed      
 Keywords:                |  

Comment(by aaroncampbell):

 Wouldn't it be far more efficient to use `ctype_digit( $_GET['author'] )`
 rather than a regular expression?

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

More information about the wp-trac mailing list