- Timestamp:
- 07/10/2023 10:58:33 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r54891 r56193 1762 1762 $posts_controller = $post_type->get_rest_controller(); 1763 1763 1764 // Ensure the posts controller is specifically a WP_REST_Posts_Controller instance 1765 // before using methods specific to that controller. 1764 /* 1765 * Ensure the posts controller is specifically a WP_REST_Posts_Controller instance 1766 * before using methods specific to that controller. 1767 */ 1766 1768 if ( ! $posts_controller instanceof WP_REST_Posts_Controller ) { 1767 1769 $posts_controller = new WP_REST_Posts_Controller( $post->post_type );
Note: See TracChangeset
for help on using the changeset viewer.