[wp-trac] [WordPress Trac] #18396: Custom post type of "tab" creates query conflict with media uploader.

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 28 23:00:39 UTC 2011


#18396: Custom post type of "tab" creates query conflict with media uploader.
-----------------------------+------------------------------
 Reporter:  theandystratton  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Media            |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------------------

Comment (by nacin):

 Replying to [comment:3 johnbillion]:
 > I haven't checked, but wouldn't this also apply to any CPT that shares a
 name with a public query var?
 There would be a problem only if the CPT's query variable overwrites an
 existing public query variable.

 `tab` is not a registered query variable. We consult it via a direct
 `$_GET`.

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


More information about the wp-trac mailing list