Jake Vanderwerf
2026-01-22 58e8ae0759ccfa97c478ccae4e0778bdce70966f
inc/rest/routes/ContentRoutes.php
@@ -36,7 +36,10 @@
   {
      $this->cache_name = 'user_content_' . get_current_user_id();
      parent::__construct();
      if (JVB_TESTING) {
      $this->cache->clear();
      }
      $this->action = 'dash-';
      $this->operation_type = 'content_update';
      add_action('init', [$this, 'registerContentExecutors'], 5);
@@ -613,6 +616,8 @@
         return ['success' => false, 'message' => 'No permission'];
      }
      error_log('[Processing Timeline Post...');
      $ignore = ['content', 'user'];
      $this->fields = jvbGetFields($post_data['content']);
      $this->initTimelineFields($post_data['content']);
@@ -701,7 +706,8 @@
         ]);
         $prevDate = null;
         $latest_date = null;
         $earliest_date = null;
         foreach ($post_data['timeline'] as $order => $timeline) {
            // Get unique fields for this specific timeline entry
            $allowedFields = array_filter($timeline, function ($key) use ($ignore) {