Changeset 3068647 for jetpack/trunk/jetpack_vendor/automattic/jetpack-import/src/endpoints/trait-import.php
- Timestamp:
- 04/10/2024 08:25:49 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/jetpack_vendor/automattic/jetpack-import/src/endpoints/trait-import.php
r3067143 r3068647 7 7 8 8 namespace Automattic\Jetpack\Import\Endpoints; 9 10 use WP_Error;11 9 12 10 /** … … 38 36 * Ensure that the user has permissions to import. 39 37 * 40 * @return bool| WP_Error38 * @return bool|WP_Error 41 39 */ 42 40 public function import_permissions_callback() { … … 52 50 ); 53 51 54 return new WP_Error( 'rest_forbidden', $error_msg, array( 'status' => \rest_authorization_required_code() ) );52 return new WP_Error( 'rest_forbidden', $error_msg, array( 'status' => \rest_authorization_required_code() ) ); 55 53 } 56 54
Note: See TracChangeset
for help on using the changeset viewer.