Skip to content

Commit

Permalink
Fix closing tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinruscoe committed Apr 25, 2019
1 parent 3c87418 commit 21393b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/woocommerce-after-add-to-cart.admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@ function() {
'</span>';
} else {
$return['default_action'] = "<span class='option'>" .
"<span class='post_title'>Stay on product page</span> " .
"<span class='post_title'>Stay on product page</span>" .
"<small class='post_type'>DEFAULT</small>" .
'</span>';
}

if ( $is_variation ) {
$return['as_parent'] = "<span class='option'>" .
"<span class='post_title'>Same as parent</span> " .
"<span class='post_type'>PARENT</span> " .
"<span class='post_title'>Same as parent</span>" .
"<small class='post_type'>PARENT</small>" .
'</span>';
}

Expand Down Expand Up @@ -186,7 +186,7 @@ function ( $loop, $variation_data, $variation ) {
} elseif ( 'as_parent' === $current_value ) {
$options['as_parent'] = "<span class='option'>" .
"<span class='post_title'>Same as parent</span> " .
"<span class='post_type'>PARENT</span> " .
"<small class='post_type'>PARENT</span> " .
'</span>';
} else {
$options[ $current_value ] = sprintf(
Expand Down

0 comments on commit 21393b3

Please sign in to comment.