Changeset 54464 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 10/10/2022 11:01:08 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r54410 r54464 3936 3936 $post_type_object = get_post_type_object( $post_type ); 3937 3937 3938 if ( ! $post_type_object ) { 3939 return false; 3940 } 3941 3938 3942 return in_array( $post_type_object->name, (array) $post_types, true ); 3939 3943 }
Note: See TracChangeset
for help on using the changeset viewer.