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

WordPress Trac noreply at wordpress.org
Sat Apr 23 02:53:03 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):

 What if we had a `WP_Status` base class that could be used by posts,
 users, comments, and maybe even taxonomy terms?

 What if a status had properties to define it's object, scope, transition
 boundaries (to and from), related capability requirements, and so on?

 What if we take the lack of an API as an opportunity to clearly define
 what exactly a status is, and what we need and expect from it?

 Is it visibility? Is it privacy? Is it limited to certain users? Is it
 visible on the front end? Is it visible ever? Certain post types? When and
 why does it transition, and to what other possible statuses based on what
 conditions? Can they transition using WordPress Cron, or Heartbeat?

 @danielbachhuber has worked a lot with these concepts in the past, and
 bbPress also implements custom post statuses. The most often used statuses
 are flat and simple, but imagine a post status for bbPress topics that
 knows to close them after 90 days in inactivity. Imagine future dated
 posts that actually publish on time without missing their schedules.

 I absolutely do not want for perfection to get in the way of any progress
 that we can make here, and I think a clearer roadmap  for the future of
 this feature will help everyone know where to focus their time and passion
 for solving it all.

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


More information about the wp-trac mailing list