Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fatal error in WP_Fonts_Resolver::get_settings() (#55981)
* Check variables before passing them to array_merge. array_merge() expects input parameters to be arrays. * Optimization: don't check for the existence of $settings['typography']['fontFamilies']['theme'] on every iteration of the loop. * Optimization: ternary is not needed here.
- Loading branch information