[wp-trac] [WordPress Trac] #50255: get_the_modified_author() not working
WordPress Trac
noreply at wordpress.org
Thu Feb 27 18:26:09 UTC 2025
#50255: get_the_modified_author() not working
-------------------------------+------------------------------
Reporter: stilldreaming | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 5.4.1
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Comment (by kurtrank):
I just ran into this as well. I found that some post types were not
showing the last modified author and instead defaulting to the original
author that created it. From my testing it seems post types that do
**not** have legacy meta boxes do not set `_edit_last` in the database, so
I would guess that step is missing from the REST API function that saves
post data.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50255#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list