[wp-trac] [WordPress Trac] #52217: Fix code issues identified by PHPStan
WordPress Trac
noreply at wordpress.org
Mon Nov 4 23:35:00 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 peterwilsoncc):
In [changeset:"59343" 59343]:
{{{
#!CommitTicketReference repository="" revision="59343"
Script Loader: Correct the number of arguments passed to
`WP_Styles::get_etag()`.
This fixes an issue with the usage of the new `$wp_styles->get_etag()`
method in `wp-admin/load-styles.php`, where `$wp_version` is passed as the
first argument instead of `$load` being used as the ''only'' argument.
Follow-up to [58935].
Reviewed by swissspidy.
Merges [59341] to the 6.7 branch.
Props justlevine, mukesh27, swissspidy, SergeyBiryukov.
See #52217, #61485.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52217#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list