[wp-trac] [WordPress Trac] #55978: Adding optional post parameter to get_the_modified_author function
WordPress Trac
noreply at wordpress.org
Fri Oct 24 03:53:31 UTC 2025
#55978: Adding optional post parameter to get_the_modified_author function
-------------------------------+--------------------------
Reporter: samirmalpande | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.9
Component: Posts, Post Types | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------------+--------------------------
Changes (by westonruter):
* type: enhancement => defect (bug)
Comment:
Note: Even though this is categorized as an enhancement I'm deeming it a
defect because it `get_the_modified_author()` is ''missing'' a `$post`
parameter in the same way that `get_the_modified_date()` and
`get_the_modified_time()` have one. Since `get_the_modified_author()`
never had an argument before, there isn't the complication that exists
with `get_the_author()`/`the_author()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55978#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list