[wp-trac] [WordPress Trac] #21015: Months dropdown should not show if only posts are 'auto-draft' status

WordPress Trac noreply at wordpress.org
Fri Apr 18 20:36:26 UTC 2014


#21015: Months dropdown should not show if only posts are 'auto-draft' status
-------------------------------------+------------------------------
 Reporter:  CoenJacobs               |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Posts, Post Types        |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration
-------------------------------------+------------------------------

Comment (by seanchayes):

 I emulated the issue with both Posts and Pages. Without the 21015.5 patch
 applied I saw that the additional month was in the dropdown even though no
 associated post/page showed in the All Posts/Pages list.

 I applied the 21015.5 patch and repeated the exercise and found that only
 the month(s) with relevant / actively created content showed in the
 dropdown.

 I also added a `register_post_type` call for "Listings" in my _s theme to
 generate a custom post type. I observed the same behavior as above in the
 all "Listings" view `edit.php?post_type=listing` before and after the
 patch was applied.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21015#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list