Jake Vanderwerf
2026-09-04 32ce5c542c90be348895328078e392dde2052957
inc/blocks/CustomBlocks.php
@@ -111,6 +111,7 @@
   protected function checkMethods(?string $content, array $block, ?WP_Block $parent = null, bool $isPrerender = false):?string
   {
      $blockName = $this->sanitizeBlockName($block);
      if (str_starts_with($blockName, 'woocommerce')) {
         return $content;
      }
@@ -2304,6 +2305,10 @@
      ), jvbSearch($placeholder, uniqid(), $label, $buttonText, $isInside, $hideInput));
   }
    //core_shortcode
   public function prerender_core_shortcode(array $block, ?string $content, ?WP_Block $parent):?string
   {
      return do_shortcode($block['innerHTML']??'');
   }
   public function prerender_core_social_link(array $block, ?string $content, ?WP_Block $parent):?string
   {
//    jvbDump($block, 'social link');
@@ -2447,7 +2452,6 @@
      }
      $content = '';
      foreach ($block['innerBlocks'] as $b) {
         $rendered = $parent
            ? $this->checkMethods(null, $b, $parent, true)
            : render_block($b);