Changeset 57628 for trunk/src/wp-includes/class-wp-post-type.php
- Timestamp:
- 02/13/2024 03:10:37 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-post-type.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-post-type.php
r57624 r57628 914 914 * 915 915 * @since 6.4.0 916 * @since 6.5.0 Prevents autosave class instantiation for wp_global_styles post types.917 916 * 918 917 * @return WP_REST_Controller|null The controller instance, or null if the post type … … 924 923 } 925 924 926 if ( in_array( $this->name, array( 'attachment', 'wp_global_styles' ), true )) {925 if ( 'attachment' === $this->name ) { 927 926 return null; 928 927 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)