[wp-trac] [WordPress Trac] #55978: Adding optional post parameter to get_the_modified_author function

WordPress Trac noreply at wordpress.org
Tue Sep 20 04:06:08 UTC 2022


#55978: Adding optional post parameter to get_the_modified_author function
-------------------------------------------------+-------------------------
 Reporter:  samirmalpande                        |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.2
Component:  Posts, Post Types                    |     Version:  2.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh changes-     |     Focuses:
  requested                                      |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * keywords:  has-patch => has-patch needs-refresh changes-requested
 * milestone:  6.1 => 6.2


Comment:

 @samirmalpande Could you refresh the current patch?

 @SergeyBiryukov what do you think about protecting against edge cases by
 throwing a `__doing_it_wrong()` notice if the value is not an integer post
 ID or `WP_Post` object?

 Since 6.1 beta 1 is due out in less than 12 hours (the cut off for
 enhancement and feature request tickets), I'm going to punt this one. But
 if a refreshed patch is added in time and a committer has bandwidth to
 review, it can be moved back.

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


More information about the wp-trac mailing list