Changeset 61455 for trunk/src/wp-admin/includes/update.php
- Timestamp:
- 01/09/2026 02:46:30 AM (7 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/update.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update.php
r59861 r61455 471 471 472 472 $plugin_name = wp_kses( $plugin_data['Name'], $plugins_allowedtags ); 473 $plugin_slug = isset( $response->slug ) ? $response->slug :$response->id;473 $plugin_slug = $response->slug ?? $response->id; 474 474 475 475 if ( isset( $response->slug ) ) { … … 505 505 } 506 506 507 $requires_php = isset( $response->requires_php ) ? $response->requires_php :null;507 $requires_php = $response->requires_php ?? null; 508 508 $compatible_php = is_php_version_compatible( $requires_php ); 509 509 $notice_type = $compatible_php ? 'notice-warning' : 'notice-error'; … … 697 697 $active = $theme->is_allowed( 'network' ) ? ' active' : ''; 698 698 699 $requires_wp = isset( $response['requires'] ) ? $response['requires'] :null;700 $requires_php = isset( $response['requires_php'] ) ? $response['requires_php'] :null;699 $requires_wp = $response['requires'] ?? null; 700 $requires_php = $response['requires_php'] ?? null; 701 701 702 702 $compatible_wp = is_wp_version_compatible( $requires_wp );
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)