Jake Vanderwerf
2026-09-04 32ce5c542c90be348895328078e392dde2052957
inc/registrar/helpers/MakeCalendarType.php
@@ -301,9 +301,8 @@
      if ($post->post_type === $this->postType) {
         $get = ['year', 'month','day'];
         $values = Meta::forPost($post->ID)->getAll($get);
         foreach ($values as $key => $value) {
            if (!empty($value)) {
            if (!empty($value) && $value !== 0) {
               $url = str_replace("%e$key%", $value, $url);
            } else {
               $url = str_replace("/%e$key%", '', $url);