- Timestamp:
- 09/24/2017 10:28:56 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r41162 r41588 811 811 // If this type doesn't support trashing, error out. 812 812 if ( ! $supports_trash ) { 813 return new WP_Error( 'rest_trash_not_supported', __( 'The comment does not support trashing. Set force=true to delete.' ), array( 'status' => 501 ) ); 813 /* translators: %s: force=true */ 814 return new WP_Error( 'rest_trash_not_supported', sprintf( __( "The comment does not support trashing. Set '%s' to delete." ), 'force=true' ), array( 'status' => 501 ) ); 814 815 } 815 816
Note: See TracChangeset
for help on using the changeset viewer.