[wp-trac] [WordPress Trac] #64104: author-template.php generates PHP Warning with PHP 8.3
WordPress Trac
noreply at wordpress.org
Fri Oct 24 04:02:20 UTC 2025
#64104: author-template.php generates PHP Warning with PHP 8.3
--------------------------------------+--------------------------
Reporter: Cornwell | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: General | Version: 2.8
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Changes (by westonruter):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"61057" 61057]:
{{{
#!CommitTicketReference repository="" revision="61057"
Posts, Post Types: Update `get_the_modified_author()` to handle missing
global `$post` and add (missing) `$post` arg.
The addition of the `$post` argument (which defaults to the global post)
brings `get_the_modified_author()` in line with other similar functions,
including `get_the_modified_date()` and `get_the_modified_time()`.
Props Cornwell, jdahir0789, dhruvang21, Presskopp, mindctrl,
samirmalpande, audrasjb, johnbillion, SergeyBiryukov, desrosj, costdev,
mukesh27, westonruter.
Fixes #64104, #55978.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64104#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list