Opened 10 years ago
Last modified 6 years ago
#31186 new enhancement
Get more info about the modified author
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.2 |
Component: | Users | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
Let's let the developers to have access to all the modified author meta not just the display name.Using the function get_the_modified_author() .
Attachments (4)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Hi @alexandruias, welcome to Trac!
This sounds like an interesting idea worth consideration. Some feedback on your patch:
$last_user->$field
. We'll also need to update the documentation for thethe_modified_author
filter to mention that the parameter could be any of 'x', 'y', or 'z' user fields@param
entry added to the phpDoc for the function for the new parameter, as well as a changelog entryFor the
get_the_modified_author()
@param
entry, something like this should work:For the function's changelog entry, something like this should work: