- 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-terms-controller.php
r41162 r41588 576 576 // We don't support trashing for terms. 577 577 if ( ! $force ) { 578 return new WP_Error( 'rest_trash_not_supported', __( 'Terms do not support trashing. Set force=true to delete.' ), array( 'status' => 501 ) ); 578 /* translators: %s: force=true */ 579 return new WP_Error( 'rest_trash_not_supported', sprintf( __( "Terms do not support trashing. Set '%s' to delete." ), 'force=true' ), array( 'status' => 501 ) ); 579 580 } 580 581
Note: See TracChangeset
for help on using the changeset viewer.