[wp-trac] [WordPress Trac] #24486: The 'commentsdiv' meta box isn't displayed when using custom post statuses

WordPress Trac noreply at wordpress.org
Thu Sep 24 20:01:57 UTC 2015


#24486: The 'commentsdiv' meta box isn't displayed when using custom post statuses
--------------------------+-----------------------------
 Reporter:  XyntaMan      |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Comments      |     Version:  2.8
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34515"]:
 {{{
 #!CommitTicketReference repository="" revision="34515"
 Edit Post: in the logic determining whether to display the Comments meta
 box, check for the current post status in `get_post_stati( array( 'public'
 => true ) )` instead of just checking `publish` and `private`. Ensure that
 `private` is checked in both instances.

 Props Thaicloud, wonderboymusic.
 Fixes #24486.
 }}}

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


More information about the wp-trac mailing list