Changeset 57624 for trunk/src/wp-includes/class-wp-post-type.php
- Timestamp:
- 02/13/2024 02:07:38 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-post-type.php
r56819 r57624 914 914 * 915 915 * @since 6.4.0 916 * @since 6.5.0 Prevents autosave class instantiation for wp_global_styles post types. 916 917 * 917 918 * @return WP_REST_Controller|null The controller instance, or null if the post type … … 923 924 } 924 925 925 if ( 'attachment' === $this->name) {926 if ( in_array( $this->name, array( 'attachment', 'wp_global_styles' ), true ) ) { 926 927 return null; 927 928 }
Note: See TracChangeset
for help on using the changeset viewer.