diff --git a/includes/Core/Rest/Integration.php b/includes/Core/Rest/Integration.php index f414b7b1..2a2e5169 100644 --- a/includes/Core/Rest/Integration.php +++ b/includes/Core/Rest/Integration.php @@ -149,7 +149,7 @@ public function get_response( \WP_REST_Request $request ){ if( $notificationx ) { return wp_send_json( true ); } - $error['message'] = __( 'There is no notification created with this id:' . $id, 'notificationx' ); + $error['message'] = sprintf( __( 'There is no notification created with this id: %s', 'notificationx' ), $id ); return wp_send_json_error( $error, 401 ); } else { $error['message'] = __( 'Error: API Key Invalid!', 'notificationx' );