Skip to content

Commit d0d3691

Browse files
Escaping for the URLs
1 parent 8b86490 commit d0d3691

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/class-bulk-featured-image-admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ public function menu() {
160160
?>
161161
<a href="<?php echo $menu_link; ?>" class="nav-tab <?php echo $active; ?>"><?php echo $menu; ?></a>
162162
<?php
163-
} ?>
164-
<a href="https://store.creedally.com/product/bulk-featured-image-pro/" target="_blank" rel="nofollow" class="wpar-nav-button product-url"><img src="<?php echo BFIE_PLUGIN_URL . '/assets/images/icon-upgrade-pro.svg'; ?>"><p><?php _e( 'Upgrade to Pro', 'product-auto-release-lite' ); ?></p></a>
163+
} ?>
164+
<a href="<?php echo esc_url( 'https://store.creedally.com/product/bulk-featured-image-pro/' ); ?>" target="_blank" rel="nofollow" class="wpar-nav-button product-url"><img src="<?php echo esc_url( BFIE_PLUGIN_URL . '/assets/images/icon-upgrade-pro.svg' ); ?>"><p><?php _e( 'Upgrade to Pro', 'product-auto-release-lite' ); ?></p></a>
165165
</nav>
166166
<?php
167167

0 commit comments

Comments
 (0)