Skip to content

Commit b14a903

Browse files
authored
Merge pull request #192 from TycheSoftwares/issue-137
issue-137
2 parents 0d4ecb1 + 1d27eb3 commit b14a903

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

woocommerce-delivery-notes/includes/class-wcdn-writepanel.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,7 @@ public function confirm_bulk_actions() {
218218

219219
<div id="woocommerce-delivery-notes-bulk-print-message" class="updated">
220220
<p><?php wp_kses_post( $message, 'woocommerce-delivery-notes' ); ?>
221-
<a href="<?php if ( isset( $_REQUEST['print_url'] ) ) : ?>
222-
<?php
223-
// phpcs:ignore
224-
echo urldecode( esc_url_raw( $_REQUEST['print_url'] ) ); ?>
225-
<?php endif; ?>" target="_blank" class="print-preview-button" id="woocommerce-delivery-notes-bulk-print-button"><?php esc_attr_e( 'Print now', 'woocommerce-delivery-notes' ); ?></a> <span class="print-preview-loading spinner"></span></p>
221+
<a href="<?php if ( isset( $_REQUEST['print_url'] ) ) : echo urldecode( esc_url_raw( $_REQUEST['print_url'] ) ); endif; // phpcs:ignore ?>" target="_blank" class="print-preview-button" id="woocommerce-delivery-notes-bulk-print-button"><?php esc_attr_e( 'Print now', 'woocommerce-delivery-notes' ); ?></a> <span class="print-preview-loading spinner"></span></p>
226222
</div>
227223

228224
<?php

0 commit comments

Comments
 (0)