[wp-trac] [WordPress Trac] #52217: Fix code issues identified by PHPStan
WordPress Trac
noreply at wordpress.org
Sat Nov 9 16:28:41 UTC 2024
#52217: Fix code issues identified by PHPStan
-------------------------+-------------------------------
Reporter: johnbillion | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
-------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"59377" 59377]:
{{{
#!CommitTicketReference repository="" revision="59377"
Coding Standards: Ensure cookie expiration value is an integer in
`wp_update_user()`.
This addresses an issue in `wp_update_user()`, where `time()` is
subtracted from the `$logged_in_cookie['expiration']` of type `string`.
Follow-up to [29043].
Props justlevine.
See #52217.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52217#comment:71>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list