[wp-trac] [WordPress Trac] #12706: Custom post status bugs in the admin

WordPress Trac noreply at wordpress.org
Sat Apr 23 14:49:38 UTC 2016


#12706: Custom post status bugs in the admin
-------------------------------------------------+-------------------------
 Reporter:  ptahdunbar                           |       Owner:
     Type:  task (blessed)                       |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Posts, Post Types                    |  Release
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch westi-likes needs-testing  |  Resolution:
  needs-unit-tests editorial-flow                |     Focuses:
-------------------------------------------------+-------------------------

Comment (by johnjamesjacoby):

 bbPress has a few custom statuses:

 * Spam
 * Pending
 * Private
 * Hidden
 * Closed
 * Orphaned

 These are basically `states` that a forum/topic/reply will find themselves
 in based on different criteria, and a moderator can force a state if they
 wish.

 A state is really a collection of properties, not dissimilar to how roles
 have capabilities, and these properties need an easy way to build database
 queries and limit their visibility.

 Consider also that this is likely to be a solved problem already in other
 open source projects. Has anyone made any progress beyond WordPress when
 it comes to object states?

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


More information about the wp-trac mailing list