Changeset 38037 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 07/12/2016 11:44:33 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r37943 r38037 880 880 $response = $permission; 881 881 } else if ( false === $permission || null === $permission ) { 882 $response = new WP_Error( 'rest_forbidden', __( "You don't have permission to do this."), array( 'status' => 403 ) );882 $response = new WP_Error( 'rest_forbidden', __( 'Sorry, you are not allowed to do that.' ), array( 'status' => 403 ) ); 883 883 } 884 884 }
Note: See TracChangeset
for help on using the changeset viewer.