[wp-trac] [WordPress Trac] #24486: The 'commentsdiv' meta box isn't displayed when using custom post statuses
WordPress Trac
noreply at wordpress.org
Sat Jan 24 02:21:10 UTC 2015
#24486: The 'commentsdiv' meta box isn't displayed when using custom post statuses
-------------------------------------+-----------------------------
Reporter: XyntaMan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Comments | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Changes (by Thaicloud):
* keywords: has-patch => has-patch needs-testing
Comment:
Replying to [comment:4 rachelbaker]:
> Instead of removing the post_status check, we should check that any
custom post statuses are public.
Added a patch that uses the get_post_stati() function to return all public
statuses, with the fallback being only the public status. I've tested with
some custom statuses (stati?) and it works for me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24486#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list