Opened 12 years ago
Last modified 7 years ago
#31186 new enhancement
Get more info about the modified author
| Reported by: | alexandruias | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Users | Version: | 4.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | template |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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_authorfilter to mention that the parameter could be any of 'x', 'y', or 'z' user fields@paramentry added to the phpDoc for the function for the new parameter, as well as a changelog entryFor the
get_the_modified_author()@paramentry, something like this should work:For the function's changelog entry, something like this should work: