[wp-trac] [WordPress Trac] #25398: Multiple WordPress URL Parameters Causes Undefined ID and Nicename Errors

WordPress Trac noreply at wordpress.org
Mon Sep 23 16:22:13 UTC 2013


#25398: Multiple WordPress URL Parameters Causes Undefined ID and Nicename Errors
--------------------------+-----------------------------
 Reporter:  chriscct7     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.6.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 So I was able to find an unexpected behavior in WordPress that looks like
 it was patched in #17662 11 months ago, since a closely related ticket,
 #20519, was closed and merged into that one.

 Basically, to reproduce this you need a custom post type that supports
 authors.

 So, let's say I have a cpt called 'download'. Let's say a known author ID
 is 1. It doesn't really matter what the author id is.  Now, try going to:

 mysite.com/?post_type=download&author=1

 So what you'd expect to see, is the downloads archive template, with the
 posts written by author 1.

 Instead what you get is undefined errors specifically undefined id and
 undefined nicename.

 Not really sure where the bug comes from (my guess is maybe the templates
 for author and post type archives) so I've logged it under General.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25398>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list