[wp-trac] [WordPress Trac] #16974: absint to return 0 for values with non-numeric characters

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 26 23:02:29 UTC 2011


#16974: absint to return 0 for values with non-numeric characters
--------------------------+----------------------
 Reporter:  sc0ttkclark   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.1
 Severity:  minor         |  Resolution:  wontfix
 Keywords:  has-patch     |
--------------------------+----------------------

Comment (by sc0ttkclark):

 Replying to [comment:22 scribu]:
 > Replying to [comment:18 sc0ttkclark]:
 > > Gotcha, I see what you mean here though I believe
 http://wordpress.org/news/?p=100and itself is a bug and should be
 redirected to normalize 'p' in the query (and other places).
 >
 > I'm pretty sure there's a canonical redirect in place for this case. If
 not, there should be.

 Only redirects if you are using non-p permalinks. Like in the case of this
 site:

 pcgamingcorner.com/wordpress/?p=820and

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


More information about the wp-trac mailing list