- Timestamp:
- 01/09/2026 02:46:30 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-theme-installer-skin.php
r61195 r61455 46 46 $this->type = $args['type']; 47 47 $this->url = $args['url']; 48 $this->api = isset( $args['api'] ) ? $args['api'] :array();48 $this->api = $args['api'] ?? array(); 49 49 $this->overwrite = $args['overwrite']; 50 50 … … 311 311 $blocked_message .= '<ul class="ul-disc">'; 312 312 313 $requires_php = isset( $new_theme_data['RequiresPHP'] ) ? $new_theme_data['RequiresPHP'] :null;314 $requires_wp = isset( $new_theme_data['RequiresWP'] ) ? $new_theme_data['RequiresWP'] :null;313 $requires_php = $new_theme_data['RequiresPHP'] ?? null; 314 $requires_wp = $new_theme_data['RequiresWP'] ?? null; 315 315 316 316 if ( ! is_php_version_compatible( $requires_php ) ) {
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)