From e46c226ed570206581cebed5f526f6b786cb360f Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Mon, 15 Jul 2019 03:11:12 +0200
Subject: [PATCH] PHP 7.4/array-access: Fix
WP_Customize_Manager::register_controls()
---
src/wp-includes/class-wp-customize-manager.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php
index 4d7bf3ba44..be369a1cb3 100644
a
|
b
|
final class WP_Customize_Manager { |
5098 | 5098 | 'label' => __( 'Logo' ), |
5099 | 5099 | 'section' => 'title_tagline', |
5100 | 5100 | 'priority' => 8, |
5101 | | 'height' => $custom_logo_args[0]['height'], |
5102 | | 'width' => $custom_logo_args[0]['width'], |
5103 | | 'flex_height' => $custom_logo_args[0]['flex-height'], |
5104 | | 'flex_width' => $custom_logo_args[0]['flex-width'], |
| 5101 | 'height' => isset( $custom_logo_args[0]['height'] ) ? $custom_logo_args[0]['height'] : null, |
| 5102 | 'width' => isset( $custom_logo_args[0]['width'] ) ? $custom_logo_args[0]['width'] : null, |
| 5103 | 'flex_height' => isset( $custom_logo_args[0]['flex-height'] ) ? $custom_logo_args[0]['flex-height'] : null, |
| 5104 | 'flex_width' => isset( $custom_logo_args[0]['flex-width'] ) ? $custom_logo_args[0]['flex-width'] : null, |
5105 | 5105 | 'button_labels' => array( |
5106 | 5106 | 'select' => __( 'Select logo' ), |
5107 | 5107 | 'change' => __( 'Change logo' ), |