Changeset 61403 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 12/22/2025 11:12:59 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r60909 r61403 1227 1227 $attachments = isset( $starter_content['attachments'] ) && ! empty( $this->nav_menus ) ? $starter_content['attachments'] : array(); 1228 1228 $posts = isset( $starter_content['posts'] ) && ! empty( $this->nav_menus ) ? $starter_content['posts'] : array(); 1229 $options = isset( $starter_content['options'] ) ? $starter_content['options'] :array();1229 $options = $starter_content['options'] ?? array(); 1230 1230 $nav_menus = isset( $starter_content['nav_menus'] ) && ! empty( $this->nav_menus ) ? $starter_content['nav_menus'] : array(); 1231 $theme_mods = isset( $starter_content['theme_mods'] ) ? $starter_content['theme_mods'] :array();1231 $theme_mods = $starter_content['theme_mods'] ?? array(); 1232 1232 1233 1233 // Widgets. … … 1496 1496 $nav_menu_setting_id, 1497 1497 array( 1498 'name' => isset( $nav_menu['name'] ) ? $nav_menu['name'] :$nav_menu_location,1498 'name' => $nav_menu['name'] ?? $nav_menu_location, 1499 1499 ) 1500 1500 ); … … 5240 5240 'section' => 'title_tagline', 5241 5241 'priority' => 8, 5242 'height' => isset( $custom_logo_args[0]['height'] ) ? $custom_logo_args[0]['height'] :null,5243 'width' => isset( $custom_logo_args[0]['width'] ) ? $custom_logo_args[0]['width'] :null,5244 'flex_height' => isset( $custom_logo_args[0]['flex-height'] ) ? $custom_logo_args[0]['flex-height'] :null,5245 'flex_width' => isset( $custom_logo_args[0]['flex-width'] ) ? $custom_logo_args[0]['flex-width'] :null,5242 'height' => $custom_logo_args[0]['height'] ?? null, 5243 'width' => $custom_logo_args[0]['width'] ?? null, 5244 'flex_height' => $custom_logo_args[0]['flex-height'] ?? null, 5245 'flex_width' => $custom_logo_args[0]['flex-width'] ?? null, 5246 5246 'button_labels' => array( 5247 5247 'select' => __( 'Select logo' ),
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)