Do not exclude inherit post_status from query results, Fixes Attachment listing in Gallery tab as well as displaying galleries on the front end (get_children() & friends). See #13031
git-svn-id: https://develop.svn.wordpress.org/trunk@14122 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
66e73d0f64
commit
1e0f313b60
|
@ -119,6 +119,7 @@ function create_initial_post_types() {
|
|||
|
||||
register_post_status( 'inherit', array( 'label' => _x('Inherit', 'post'),
|
||||
'internal' => true,
|
||||
'exclude_from_search' => false,
|
||||
'_builtin' => true, /* internal use only. */
|
||||
'label_count' => _n_noop('Inherit <span class="count">(%s)</span>', 'Inherit <span class="count">(%s)</span>')
|
||||
) );
|
||||
|
|
Loading…
Reference in New Issue