diff --git a/wp-admin/includes/class-wp-privacy-policy-content.php b/wp-admin/includes/class-wp-privacy-policy-content.php index 676d5b6736..dd704bdecf 100644 --- a/wp-admin/includes/class-wp-privacy-policy-content.php +++ b/wp-admin/includes/class-wp-privacy-policy-content.php @@ -87,7 +87,7 @@ final class WP_Privacy_Policy_Content { // Remove the extra values added to the meta. foreach ( $old as $key => $data ) { - if ( ! empty( $data['removed'] ) ) { + if ( ! is_array( $data ) || ! empty( $data['removed'] ) ) { unset( $old[ $key ] ); continue; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5d76ab091b..1b30830fed 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48835'; +$wp_version = '5.6-alpha-48836'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.