Jake Vanderwerf
2026-02-10 c45b0798568d2aa6b388ecbd9bffa5de7e9a34ae
inc/managers/SEO/SchemaFieldHelpers.php
@@ -981,6 +981,26 @@
      return $formatted;
   }
   /**
    * Build a JSON-LD @id reference
    * String → ['@id' => $value], array with @id → pass through
    */
   public static function reference(mixed $value): array|string
   {
      if (is_array($value) && isset($value['@id'])) {
         return $value;
      }
      if (is_string($value) && !empty($value)) {
         return ['@id' => $value];
      }
      return $value;
   }
   /**
    * Build SiteNavigationElement array from navigation items
    */