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

WordPress Trac noreply at wordpress.org
Tue Jun 21 21:07:45 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.1
Component:  Posts, Post Types  |     Version:  2.8
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+---------------------

Comment (by samirmalpande):

 Ideally `get_the_author()` should also have same parameter. Since we have
 a precedent to un-deprecate the parameter, we should pass the `$post`
 parameter to `get_the_author()`.

 Should we create a new ticket for this or include it in the same patch?

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


More information about the wp-trac mailing list