diff --git a/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-admin-note-action-controller.php b/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-admin-note-action-controller.php index 3b4009dcafd..1c8f25dfa76 100644 --- a/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-admin-note-action-controller.php +++ b/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-admin-note-action-controller.php @@ -58,7 +58,7 @@ class WC_Admin_REST_Admin_Note_Action_Controller extends WC_Admin_REST_Admin_Not if ( ! $note ) { return new WP_Error( 'woocommerce_admin_notes_invalid_id', - __( 'Sorry, there is no resouce with that ID.', 'woocommerce-admin' ), + __( 'Sorry, there is no resource with that ID.', 'woocommerce-admin' ), array( 'status' => 404 ) ); } @@ -77,7 +77,7 @@ class WC_Admin_REST_Admin_Note_Action_Controller extends WC_Admin_REST_Admin_Not if ( ! $triggered_action ) { return new WP_Error( 'woocommerce_admin_note_action_invalid_id', - __( 'Sorry, there is no resouce with that ID.', 'woocommerce-admin' ), + __( 'Sorry, there is no resource with that ID.', 'woocommerce-admin' ), array( 'status' => 404 ) ); } diff --git a/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-admin-notes-controller.php b/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-admin-notes-controller.php index 888e769533a..46189e4aaf7 100644 --- a/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-admin-notes-controller.php +++ b/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-admin-notes-controller.php @@ -86,7 +86,7 @@ class WC_Admin_REST_Admin_Notes_Controller extends WC_REST_CRUD_Controller { if ( ! $note ) { return new WP_Error( 'woocommerce_admin_notes_invalid_id', - __( 'Sorry, there is no resouce with that ID.', 'woocommerce-admin' ), + __( 'Sorry, there is no resource with that ID.', 'woocommerce-admin' ), array( 'status' => 404 ) ); } @@ -199,7 +199,7 @@ class WC_Admin_REST_Admin_Notes_Controller extends WC_REST_CRUD_Controller { if ( ! $note ) { return new WP_Error( 'woocommerce_admin_notes_invalid_id', - __( 'Sorry, there is no resouce with that ID.', 'woocommerce-admin' ), + __( 'Sorry, there is no resource with that ID.', 'woocommerce-admin' ), array( 'status' => 404 ) ); }