[wp-trac] [WordPress Trac] #51084: „Trying to access array offset on value of type bool“ in "/wp-admin/includes/class-wp-privacy-policy-content.php on line 96 & 97“
WordPress Trac
noreply at wordpress.org
Fri Aug 21 01:11:33 UTC 2020
#51084: „Trying to access array offset on value of type bool“ in "/wp-
admin/includes/class-wp-privacy-policy-content.php on line 96 & 97“
----------------------------------+--------------------------------------
Reporter: treibstoff | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Privacy | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: needs-privacy-review | Focuses: administration, privacy
----------------------------------+--------------------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"48836" 48836]:
{{{
#!CommitTicketReference repository="" revision="48836"
Privacy: Avoid a PHP 7.4 notice in
`WP_Privacy_Policy_Content::text_change_check()`.
When iterating over the items stored in
'_wp_suggested_privacy_policy_content` meta value for the Privacy Policy
page, make sure the item is an array before accessing its properties.
Props treibstoff.
Fixes #51084.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51084#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list