- Timestamp:
- 09/24/2017 10:28:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
r41354 r41588 289 289 // We don't support trashing for revisions. 290 290 if ( ! $force ) { 291 return new WP_Error( 'rest_trash_not_supported', __( 'Revisions do not support trashing. Set force=true to delete.' ), array( 'status' => 501 ) ); 291 /* translators: %s: force=true */ 292 return new WP_Error( 'rest_trash_not_supported', sprintf( __( "Revisions do not support trashing. Set '%s' to delete." ), 'force=true' ), array( 'status' => 501 ) ); 292 293 } 293 294
Note: See TracChangeset
for help on using the changeset viewer.