Changeset 44107
- Timestamp:
- 12/13/2018 09:37:05 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43739,43741
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/rest-api.php
r43985 r44107 229 229 // Comments. 230 230 $controller = new WP_REST_Comments_Controller; 231 232 233 234 235 236 237 238 239 240 241 242 243 244 231 245 $controller->register_routes(); 232 246 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php
r43739 r44107 71 71 72 72 /* translators: %s: PHP class name */ 73 _doing_it_wrong( __METHOD__, sprintf( __( 'REST search handlers must extend the %s class.' ), 'WP_REST_Search_Handler' ), '5. 5.0' );73 _doing_it_wrong( __METHOD__, sprintf( __( 'REST search handlers must extend the %s class.' ), 'WP_REST_Search_Handler' ), '5..0' ); 74 74 continue; 75 75 } -
trunk/src/wp-settings.php
r43985 r44107 235 235 require( ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-users-controller.php' ); 236 236 require( ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-comments-controller.php' ); 237 237 238 require( ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-settings-controller.php' ); 238 239 require( ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-themes-controller.php' ); … … 242 243 require( ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-term-meta-fields.php' ); 243 244 require( ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-user-meta-fields.php' ); 245 246 244 247 245 248 $GLOBALS['wp_embed'] = new WP_Embed(); -
trunk/tests/phpunit/includes/bootstrap.php
r43369 r44107 133 133 require dirname( __FILE__ ) . '/utils.php'; 134 134 require dirname( __FILE__ ) . '/spy-rest-server.php'; 135 135 136 136 137 /** -
trunk/tests/phpunit/tests/rest-api/rest-schema-setup.php
r43985 r44107 111 111 '/wp/v2/comments', 112 112 '/wp/v2/comments/(?P<id>[\\d]+)', 113 113 114 '/wp/v2/settings', 114 115 '/wp/v2/themes', -
trunk/tests/qunit/fixtures/wp-api-generated.js
r43985 r44107 3409 3409 } 3410 3410 ] 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3411 3479 }, 3412 3480 "/wp/v2/settings": {
Note: See TracChangeset
for help on using the changeset viewer.