[wp-trac] [WordPress Trac] #10960: ?author=-N forwards to wrong canonical URL
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 15 13:33:39 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 filosofo):
Actually a better optimization would probably be leaving the regular
expression and taking out the ! empty() check ({{{ctype_digit()}}} returns
true for empty strings in some PHP versions).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10960#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list