- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r45811 r45926 158 158 159 159 if ( ! empty( $forbidden_params ) ) { 160 return new WP_Error( 'rest_forbidden_param', sprintf( __( 'Query parameter not permitted: %s' ), implode( ', ', $forbidden_params ) ), array( 'status' => rest_authorization_required_code() ) ); 160 return new WP_Error( 161 'rest_forbidden_param', 162 /* translators: %s: list of forbidden parameters */ 163 sprintf( __( 'Query parameter not permitted: %s' ), implode( ', ', $forbidden_params ) ), 164 array( 'status' => rest_authorization_required_code() ) 165 ); 161 166 } 162 167 }
Note: See TracChangeset
for help on using the changeset viewer.