Skip to content

Commit

Permalink
Merge pull request #1237 from equalizedigital/stage
Browse files Browse the repository at this point in the history
Calculator Signup Block Link Fix
  • Loading branch information
SteveJonesDev authored Jun 6, 2024
2 parents 1155d89 + 5d5e6c5 commit ad0f0e3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
File renamed without changes.
File renamed without changes.
30 changes: 15 additions & 15 deletions config.codekit3
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@
"oAP" : "\/.github\/workflows\/lint-php.yml",
"oF" : 0
},
"\/.github\/workflows\/master.disabled" : {
"\/.github\/workflows\/master.yml" : {
"cB" : 0,
"ft" : 8192,
"hM" : 0,
"oA" : 0,
"oAP" : "\/.github\/workflows\/master.disabled",
"oAP" : "\/.github\/workflows\/master.yml",
"oF" : 0
},
"\/.github\/workflows\/security.yml" : {
Expand All @@ -92,19 +92,19 @@
"oAP" : "\/.github\/workflows\/security.yml",
"oF" : 0
},
"\/.github\/workflows\/stage.disabled" : {
"\/.github\/workflows\/stage.yml" : {
"cB" : 0,
"ft" : 8192,
"hM" : 0,
"oA" : 0,
"oAP" : "\/.github\/workflows\/stage.disabled",
"oAP" : "\/.github\/workflows\/stage.yml",
"oF" : 0
},
"\/.gitignore" : {
"cB" : 0,
"ft" : 8192,
"hM" : 0,
"oA" : 2,
"oA" : 0,
"oAP" : "\/.gitignore",
"oF" : 0
},
Expand All @@ -125,13 +125,13 @@
"oF" : 0
},
"\/assets\/css\/editor-layout.css" : {
"aP" : 0,
"aP" : 1,
"bl" : 0,
"ci" : 0,
"co" : 0,
"ft" : 16,
"ma" : 0,
"oA" : 2,
"oA" : 0,
"oAP" : "\/assets\/css\/editor-layout-min.css",
"oF" : 0,
"pg" : 0
Expand Down Expand Up @@ -165,13 +165,13 @@
"oF" : 0
},
"\/assets\/css\/main.css" : {
"aP" : 0,
"aP" : 1,
"bl" : 0,
"ci" : 0,
"co" : 0,
"ft" : 16,
"ma" : 0,
"oA" : 2,
"oA" : 0,
"oAP" : "\/assets\/css\/main-min.css",
"oF" : 0,
"pg" : 0
Expand Down Expand Up @@ -3643,7 +3643,7 @@
"oF" : 0,
"oS" : 0,
"pg" : 0,
"sct" : 1
"sct" : 0
},
"\/assets\/scss\/partials\/_site-footer.scss" : {
"aP" : 0,
Expand Down Expand Up @@ -3806,7 +3806,7 @@
"cB" : 0,
"ft" : 8192,
"hM" : 0,
"oA" : 2,
"oA" : 0,
"oAP" : "\/inc\/layouts.php",
"oF" : 0
},
Expand All @@ -3822,7 +3822,7 @@
"cB" : 0,
"ft" : 8192,
"hM" : 0,
"oA" : 2,
"oA" : 0,
"oAP" : "\/inc\/loop.php",
"oF" : 0
},
Expand Down Expand Up @@ -3854,7 +3854,7 @@
"cB" : 0,
"ft" : 8192,
"hM" : 0,
"oA" : 2,
"oA" : 0,
"oAP" : "\/inc\/shared-counts.php",
"oF" : 0
},
Expand All @@ -3870,7 +3870,7 @@
"cB" : 0,
"ft" : 8192,
"hM" : 0,
"oA" : 2,
"oA" : 0,
"oAP" : "\/inc\/template-tags.php",
"oF" : 0
},
Expand Down Expand Up @@ -4043,7 +4043,7 @@
"cB" : 0,
"ft" : 8192,
"hM" : 0,
"oA" : 2,
"oA" : 0,
"oAP" : "\/single.php",
"oF" : 0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
<div class="text"><?php echo wp_kses_post( $copy ); ?></div>
<?php
if ( ! empty( $block_link ) ) {
$url = $link['url'];
$calculator_title = $link['title'];
if ( $link['url'] ) {
$url = $block_link['url'];
$calculator_title = $block_link['title'];
if ( $url ) {
echo '<span class="content">';
echo '<a href="' . esc_url( $url ) . '" class="btn btn-dark-bg">';
echo esc_html( $calculator_title );
Expand Down

0 comments on commit ad0f0e3

Please sign in to comment.