Add @codingStandardsIgnoreLine
Adds "@codingStandardsIgnoreLine" when nothing else has been changed in line; This is a Woo change, adding to better sync files with standard Woo templates.
This commit is contained in:
parent
6be1654da7
commit
1eed4183b2
|
@ -53,6 +53,7 @@ do_action( 'woocommerce_before_cart' ); ?>
|
||||||
|
|
||||||
<td class="product-remove">
|
<td class="product-remove">
|
||||||
<?php
|
<?php
|
||||||
|
// @codingStandardsIgnoreLine
|
||||||
echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf(
|
echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf(
|
||||||
'<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>',
|
'<a href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>',
|
||||||
esc_url( wc_get_cart_remove_url( $cart_item_key ) ),
|
esc_url( wc_get_cart_remove_url( $cart_item_key ) ),
|
||||||
|
|
|
@ -50,7 +50,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td class="product-quantity"><?php echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">' . sprintf( '× %s', esc_html( $item['qty'] ) ) . '</strong>', $item ); ?></td>
|
<td class="product-quantity"><?php echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">' . sprintf( '× %s', esc_html( $item['qty'] ) ) . '</strong>', $item ); ?></td>
|
||||||
<td class="product-subtotal"><?php echo $order->get_formatted_line_subtotal( $item ); ?></td>
|
<td class="product-subtotal"><?php echo $order->get_formatted_line_subtotal( $item ); ?></td><?php // @codingStandardsIgnoreLine ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -59,8 +59,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
<?php if ( $totals = $order->get_order_item_totals() ) : ?>
|
<?php if ( $totals = $order->get_order_item_totals() ) : ?>
|
||||||
<?php foreach ( $totals as $total ) : ?>
|
<?php foreach ( $totals as $total ) : ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" colspan="2"><?php echo $total['label']; ?></th>
|
<th scope="row" colspan="2"><?php echo $total['label']; ?></th><?php // @codingStandardsIgnoreLine ?>
|
||||||
<td class="product-total"><?php echo $total['value']; ?></td>
|
<td class="product-total"><?php echo $total['value']; ?></td><?php // @codingStandardsIgnoreLine ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
@ -30,7 +30,7 @@ do_action( 'woocommerce_before_edit_account_address_form' ); ?>
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
|
||||||
<h3><?php echo apply_filters( 'woocommerce_my_account_edit_address_title', $page_title, $load_address ); ?></h3>
|
<h3><?php echo apply_filters( 'woocommerce_my_account_edit_address_title', $page_title, $load_address ); ?></h3><?php // @codingStandardsIgnoreLine ?>
|
||||||
|
|
||||||
<div class="woocommerce-address-fields">
|
<div class="woocommerce-address-fields">
|
||||||
<?php do_action( "woocommerce_before_edit_address_form_{$load_address}" ); ?>
|
<?php do_action( "woocommerce_before_edit_address_form_{$load_address}" ); ?>
|
||||||
|
|
Reference in New Issue