Changeset 53450 for trunk/src/wp-admin/edit.php
- Timestamp:
- 05/29/2022 03:33:12 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit.php
r51850 r53450 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once __DIR__ . '/admin.php'; 11 12 /** 13 * @global string $typenow The post type of the current screen. 14 */ 15 global $typenow; 11 16 12 17 if ( ! $typenow ) { … … 88 93 // Validate the post status exists. 89 94 if ( get_post_status_object( $post_status ) ) { 95 /** 96 * @global wpdb $wpdb WordPress database abstraction object. 97 */ 98 global $wpdb; 99 90 100 $post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_type=%s AND post_status = %s", $post_type, $post_status ) ); 91 101 }
Note: See TracChangeset
for help on using the changeset viewer.