Changeset 40038 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 02/01/2017 09:31:02 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r39278 r40038 265 265 * @param bool $rest_enabled Whether the REST API is enabled. Default true. 266 266 */ 267 apply_filters_deprecated( 'rest_enabled', array( true ), '4.7.0', 'rest_authentication_errors', __( 'The REST API can no longer be completely disabled, the rest_authentication_errors can be used to restrict access to the API, instead.' ) ); 267 apply_filters_deprecated( 'rest_enabled', array( true ), '4.7.0', 'rest_authentication_errors', 268 __( 'The REST API can no longer be completely disabled, the rest_authentication_errors filter can be used to restrict access to the API, instead.' ) 269 ); 268 270 269 271 /**
Note: See TracChangeset
for help on using the changeset viewer.