[wp-trac] [WordPress Trac] #23458: Implement filters on post_status, check get_post_status() instead of the object's post_status in get_post_permalink()

WordPress Trac noreply at wordpress.org
Wed Jun 17 16:57:54 UTC 2015


#23458: Implement filters on post_status, check get_post_status() instead of the
object's post_status in get_post_permalink()
-----------------------------------+------------------------------
 Reporter:  misterbisson           |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Posts, Post Types      |     Version:  3.5
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------

Comment (by antpb):

 This looks to have a good use case for inherited custom post type status
 however the current patch does not include 'future' in the array. I've
 adjusted the patch to have the future status included. Would like to get a
 second set of eyes on this as I think it would be useful. Updated patch to
 follow...

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


More information about the wp-trac mailing list