Jake Vanderwerf
2026-09-18 a6413da67a4579866f0fd0323ddb23a7b6b9654a
inc/rest/routes/NotificationsRoutes.php
@@ -610,10 +610,9 @@
      } catch (Exception $e) {
         global $wpdb;
         $wpdb->query('ROLLBACK');
         $this->logError('markContentNotificationRead exception', [
         $this->logError($e->getMessage(),'markContentNotificationRead', [
            'seen_id' => $seen_id,
            'user_id' => $user_id,
            'error' => $e->getMessage()
         ]);
         return [
            'success' => false,
@@ -1154,8 +1153,7 @@
         ]);
      } catch (Exception $e) {
         // Don't fail the request if metrics tracking fails
         $this->logError('trackMetrics failed', [
            'error' => $e->getMessage(),
         $this->logError($e->getMessage(),'trackMetrics', [
            'user_id' => $user_id,
            'action' => $action
         ]);