WordPress/wp-includes/customize
Gary Pendergast a571a7d621 Code Modernisation: Fix known instances of array access on data types that can't be accessed as arrays.
PHP 7.4 addes a warning when trying access a null/bool/int/float/resource (everything but array, string and object) as if it were an array.

This change fixes all of these warnings visible in unit tests.

Props jrf.
See #47704.



Built from https://develop.svn.wordpress.org/trunk@45639


git-svn-id: http://core.svn.wordpress.org/trunk@45450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-15 06:25:57 +00:00
..
class-wp-customize-background-image-control.php
class-wp-customize-background-image-setting.php
class-wp-customize-background-position-control.php
class-wp-customize-code-editor-control.php
class-wp-customize-color-control.php
class-wp-customize-cropped-image-control.php
class-wp-customize-custom-css-setting.php
class-wp-customize-date-time-control.php
class-wp-customize-filter-setting.php
class-wp-customize-header-image-control.php
class-wp-customize-header-image-setting.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-image-control.php
class-wp-customize-media-control.php
class-wp-customize-nav-menu-auto-add-control.php
class-wp-customize-nav-menu-control.php
class-wp-customize-nav-menu-item-control.php
class-wp-customize-nav-menu-item-setting.php Code Modernisation: Fix known instances of array access on data types that can't be accessed as arrays. 2019-07-15 06:25:57 +00:00
class-wp-customize-nav-menu-location-control.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
class-wp-customize-nav-menu-locations-control.php
class-wp-customize-nav-menu-name-control.php
class-wp-customize-nav-menu-section.php
class-wp-customize-nav-menu-setting.php
class-wp-customize-nav-menus-panel.php
class-wp-customize-new-menu-control.php
class-wp-customize-new-menu-section.php
class-wp-customize-partial.php
class-wp-customize-selective-refresh.php Docs: Correct @type annotation for WP_Customize_Selective_Refresh::$current_partial_id. 2019-05-26 02:12:52 +00:00
class-wp-customize-sidebar-section.php
class-wp-customize-site-icon-control.php
class-wp-customize-theme-control.php Customize: Remove “Update” link for themes on multisite installs. 2019-06-13 15:31:52 +00:00
class-wp-customize-themes-panel.php
class-wp-customize-themes-section.php General: Update support forum links. 2019-05-25 14:24:50 +00:00
class-wp-customize-upload-control.php
class-wp-widget-area-customize-control.php
class-wp-widget-form-customize-control.php