-
Notifications
You must be signed in to change notification settings - Fork 798
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Jetpack)(PHP8)(GB 17.1.3) Make the check around
$google_fonts_data
…
…'s array more resilient and return early if key or value is not of the right type (#34382) * Fallback when $google_fonts_data[fontFamilies] is null to avoid warnings and fatals * changelog * Update fix to avoid warnings in `jetpack_google_fonts_filter_out_deprecated_font_data`, make it a bit more DRY --------- Co-authored-by: Brandon Kraft <[email protected]>
- Loading branch information
1 parent
3cd962a
commit 126b8ba
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
projects/plugins/jetpack/changelog/make-load-google-fonts-more-resilient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: compat | ||
|
||
Google Fonts: resolve occasional bug resulting in PHP 8 with latest Gutenberg. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters