Changeset 61463 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 01/10/2026 05:01:08 AM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r61440 r61463 2297 2297 function get_post_states( $post ) { 2298 2298 $post_states = array(); 2299 2300 if ( isset( $_REQUEST['post_status'] ) ) { 2301 $post_status = $_REQUEST['post_status']; 2302 } else { 2303 $post_status = ''; 2304 } 2299 $post_status = $_REQUEST['post_status'] ?? ''; 2305 2300 2306 2301 if ( ! empty( $post->post_password ) ) {
Note: See TracChangeset
for help on using the changeset viewer.