Skip to content

Commit

Permalink
Attempt to resolve false positive 'NonEnqueuedImage' errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieblomerus committed Dec 24, 2024
1 parent 8f18e45 commit 2a914d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/admin/class-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ private function page_integrations() {
<div class="mobile-bankid-integration-integrations">
<div class="mobile-bankid-integration-integration">
<div class="mobile-bankid-integration-integration__logo">
<img src="<?php echo esc_url( MOBILE_BANKID_INTEGRATION_PLUGIN_URL . 'assets/images/woocommerce.svg' ); ?>" alt="WooCommerce">
<img src="<?php echo esc_url( MOBILE_BANKID_INTEGRATION_PLUGIN_URL . 'assets/images/woocommerce.svg' ); ?>" alt="WooCommerce"> <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
</div>
<div class="mobile-bankid-integration-integration__content">
<h2 class="mobile-bankid-integration-integration__title">WooCommerce</h2>
Expand Down
2 changes: 1 addition & 1 deletion includes/wp-login/class-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function login_container( $dom_element = 'form', $classes = array() ) {
<h2 id="bankid-login-h2"><?php echo apply_filters( 'mobile_bankid_integration_login_heading', esc_html__( 'Login with BankID', 'mobile-bankid-integration' ) ); ?></h2>
<p id="bankid-status"><?php echo apply_filters( 'mobile_bankid_integration_login_qr_instructions', esc_html__( 'Scan the QR code with your Mobile BankID app.', 'mobile-bankid-integration' ) ); ?></p>
<div id="bankid-qr-code-container" <?php echo $qr_enlargeable ? 'enlargeable role="button"' : ''; ?> <?php echo $qr_enlargeable ? 'aria-label="' . apply_filters( 'mobile_bankid_integration_login_qr_click_to_enlarge', esc_attr__( 'Enlarge the QR code', 'mobile-bankid-integration' ) ) . '"' : ''; ?>>
<img id="bankid-qr-code" src="" alt="<?php echo apply_filters( 'mobile_bankid_integration_login_qr_alt', esc_attr__( 'QR code', 'mobile-bankid-integration' ) ); ?>">
<img id="bankid-qr-code" src="" alt="<?php echo apply_filters( 'mobile_bankid_integration_login_qr_alt', esc_attr__( 'QR code', 'mobile-bankid-integration' ) ); ?>"> <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
<div id="bankid-qr-code-loading" aria-hidden="true">
<div class="spinner"></div>
</div>
Expand Down

0 comments on commit 2a914d6

Please sign in to comment.