[wp-trac] [WordPress Trac] #14981: Provide a context for post statuses

WordPress Trac noreply at wordpress.org
Mon Jan 28 09:19:30 UTC 2019


#14981: Provide a context for post statuses
-------------------------------------------------+-------------------------
 Reporter:  xibe                                 |       Owner:  rockwell15
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  I18N                                 |     Version:  3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-        |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by garrett-eclipse):

 * keywords:  has-patch, dev-feedback, needs-testing => has-patch dev-
     feedback needs-testing


Comment:

 Hello,

 I was going to close #44599 in favour of the work done here, but have two
 questions after looking at the 14981.4.patch @rockwell15  provided.

 1. Will all $post_states be covered as the following are missing;
 `protected`, `page_on_front`, `page_for_posts` and
 `page_for_privacy_policy`.
 2. The context provided for the post statuses in the labels function is
 either 'post' or 'page'. Can they indicate they are post statuses by using
 'post status' and 'page status'.

 Great work here, thank you

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


More information about the wp-trac mailing list