[wp-trac] [WordPress Trac] #40181: Custom Post Type with post type = 'post_type'

WordPress Trac noreply at wordpress.org
Fri Mar 17 11:43:16 UTC 2017


#40181: Custom Post Type with post type = 'post_type'
-------------------------------+-----------------------------
 Reporter:  displaynone        |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.7.3
 Severity:  normal             |   Keywords:
  Focuses:  administration     |
-------------------------------+-----------------------------
 When I create a CPT this way:

 {{{#!php
 <?php
 register_post_type( 'post_type', $args );
 }}}

 No posts, CPTs, ... are shown, but the posts count is correct

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40181>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list