Changeset 62895
- Timestamp:
- 07/29/2026 12:07:38 PM (7 weeks ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
-
capabilities.php (modified) (1 diff)
-
customize/class-wp-customize-selective-refresh.php (modified) (1 diff)
-
functions.php (modified) (1 diff)
-
http.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r62178 r62895 1164 1164 global $super_admins; 1165 1165 1166 if ( isset( $super_admins ) ) { 1167 return $super_admins; 1168 } else { 1169 return get_site_option( 'site_admins', array( 'admin' ) ); 1170 } 1166 return $super_admins ?? get_site_option( 'site_admins', array( 'admin' ) ); 1171 1167 } 1172 1168 -
trunk/src/wp-includes/customize/class-wp-customize-selective-refresh.php
r60909 r62895 121 121 */ 122 122 public function get_partial( $id ) { 123 if ( isset( $this->partials[ $id ] ) ) { 124 return $this->partials[ $id ]; 125 } else { 126 return null; 127 } 123 return $this->partials[ $id ] ?? null; 128 124 } 129 125 -
trunk/src/wp-includes/functions.php
r62835 r62895 1446 1446 } 1447 1447 1448 if ( isset( $wp_header_to_desc[ $code ] ) ) { 1449 return $wp_header_to_desc[ $code ]; 1450 } else { 1451 return ''; 1452 } 1448 return $wp_header_to_desc[ $code ] ?? ''; 1453 1449 } 1454 1450 -
trunk/src/wp-includes/http.php
r62293 r62895 856 856 ); 857 857 858 if ( isset( $translation[ $constant ] ) ) { 859 return $translation[ $constant ]; 860 } else { 861 return false; 862 } 863 } 858 return $translation[ $constant ] ?? false; 859 }
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)