Changeset 61470 for trunk/src/wp-includes/post.php
- Timestamp:
- 01/11/2026 06:48:15 AM (10 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r61445 r61470 2323 2323 function get_all_post_type_supports( $post_type ) { 2324 2324 global $_wp_post_type_features; 2325 2326 if ( isset( $_wp_post_type_features[ $post_type ] ) ) { 2327 return $_wp_post_type_features[ $post_type ]; 2328 } 2329 2330 return array(); 2325 return $_wp_post_type_features[ $post_type ] ?? array(); 2331 2326 } 2332 2327
Note:
See TracChangeset
for help on using the changeset viewer.