Changeset 54891 for trunk/src/wp-includes/rest-api.php
- Timestamp:
- 11/29/2022 03:49:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r54663 r54891 256 256 257 257 // Post types. 258 $controller = new WP_REST_Post_Types_Controller ;258 $controller = new WP_REST_Post_Types_Controller(); 259 259 $controller->register_routes(); 260 260 261 261 // Post statuses. 262 $controller = new WP_REST_Post_Statuses_Controller ;262 $controller = new WP_REST_Post_Statuses_Controller(); 263 263 $controller->register_routes(); 264 264 265 265 // Taxonomies. 266 $controller = new WP_REST_Taxonomies_Controller ;266 $controller = new WP_REST_Taxonomies_Controller(); 267 267 $controller->register_routes(); 268 268 … … 279 279 280 280 // Users. 281 $controller = new WP_REST_Users_Controller ;281 $controller = new WP_REST_Users_Controller(); 282 282 $controller->register_routes(); 283 283 … … 287 287 288 288 // Comments. 289 $controller = new WP_REST_Comments_Controller ;289 $controller = new WP_REST_Comments_Controller(); 290 290 $controller->register_routes(); 291 291 … … 319 319 320 320 // Global Styles. 321 $controller = new WP_REST_Global_Styles_Controller ;321 $controller = new WP_REST_Global_Styles_Controller(); 322 322 $controller->register_routes(); 323 323 324 324 // Settings. 325 $controller = new WP_REST_Settings_Controller ;325 $controller = new WP_REST_Settings_Controller(); 326 326 $controller->register_routes(); 327 327 328 328 // Themes. 329 $controller = new WP_REST_Themes_Controller ;329 $controller = new WP_REST_Themes_Controller(); 330 330 $controller->register_routes(); 331 331 … … 563 563 */ 564 564 $wp_rest_server_class = apply_filters( 'wp_rest_server_class', 'WP_REST_Server' ); 565 $wp_rest_server = new $wp_rest_server_class ;565 $wp_rest_server = new $wp_rest_server_class(); 566 566 567 567 /**
Note: See TracChangeset
for help on using the changeset viewer.