Jake Vanderwerf
2026-02-10 c348d35c7ecb6c74f71cf90b982412f267c5d807
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
    */