Jake Vanderwerf
2026-08-28 a9654f00c8fbc9934289d761843ddd071025013f
inc/blocks/CustomBlocks.php
@@ -168,8 +168,7 @@
      }
   public function prerender(?string $content, array $block, ?WP_Block $parent = null):?string
   {
      $result = $this->checkMethods($content, $block, $parent, true);
      return $result;
      return $this->checkMethods($content, $block, $parent, true);
   }
    public function render(string $content, array $block):string
@@ -554,7 +553,7 @@
      }
      if (array_key_exists('focalPoint', $attrs)) {
         $attrs['isObjectPosition'] = true;
         $style = $this->getFocalPointStyle($attrs['focalPoint'], $attrs);
         $style = implode(';',$this->getFocalPointStyle($attrs['focalPoint'], $attrs));
         $style .= ';object-fit:none;';
         $imgLink = str_replace('<img', sprintf(
            '<img style="%s"',