Changeset 44126 for trunk/src/wp-includes/rest-api.php
- Timestamp:
- 12/13/2018 10:41:47 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43767-43769
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/rest-api.php
r44123 r44126 193 193 $revisions_controller = new WP_REST_Revisions_Controller( $post_type->name ); 194 194 $revisions_controller->register_routes(); 195 } 196 197 if ( 'attachment' !== $post_type->name ) { 198 $autosaves_controller = new WP_REST_Autosaves_Controller( $post_type->name ); 199 $autosaves_controller->register_routes(); 195 200 } 196 201 }
Note: See TracChangeset
for help on using the changeset viewer.