Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18475, comment 4


Ignore:
Timestamp:
08/18/2011 09:29:18 PM (12 years ago)
Author:
t31os_
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18475, comment 4

    initial v1  
    1 Should the global be getting filled with an array of post types anyway? I've always been under the impression is would contain a singular string value denoting the type of post type page you are viewing admin side, ie. if i'm managing a "books" post type, that value is naturally "book", and not necessarily `array( 'book' )`...
     1Should the global be getting filled with an array of post types anyway? I've always been under the impression it would(or should, perhaps?) contain a singular string value denoting the type of post type page you are viewing admin side, ie. if i'm managing a "books" post type, that value is naturally "book", and not necessarily `array( 'book' )`...
    22
    33I can understand why `WP_Query` supports an array(for grabbing a result set of more than 1 post type), but should the global also contain an array of post types?