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

WordPress Trac noreply at wordpress.org
Wed Aug 14 20:06:46 UTC 2013


#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:  Query            |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------------------
Changes (by c3mdigital):

 * component:  Media => Query


Comment:

 What this is doing is setting a name and tab query_variable.

 dump of the library tab query:

 {{{
 object(WP_Query)[187]
   public 'query_vars' =>
     array (size=51)
       'm' => int 0
       'cat' => string '0' (length=1)
       'paged' => int 1
       'post_type' => string 'attachment' (length=10)
       'tab' => string 'library' (length=7)
       'name' => string 'library' (length=7)
       'posts_per_page' => int 20
       'post_status' => string 'inherit,private' (length=15)
       'error' => string '' (length=0)
       //.....
 }}}

 Investigating further

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


More information about the wp-trac mailing list