- 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-posts-controller.php
r41219 r41588 806 806 // If we don't support trashing for this type, error out. 807 807 if ( ! $supports_trash ) { 808 return new WP_Error( 'rest_trash_not_supported', __( 'The post does not support trashing. Set force=true to delete.' ), array( 'status' => 501 ) ); 808 /* translators: %s: force=true */ 809 return new WP_Error( 'rest_trash_not_supported', sprintf( __( "The post does not support trashing. Set '%s' to delete." ), 'force=true' ), array( 'status' => 501 ) ); 809 810 } 810 811
Note: See TracChangeset
for help on using the changeset viewer.