Skip to content

Commit

Permalink
chore: escape option
Browse files Browse the repository at this point in the history
  • Loading branch information
preda-bogdan committed Jun 4, 2024
1 parent e0e1075 commit 28a1476
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions load.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ function tsdk_utmify( $url, $area, $location = null ) {

$theme_option_url = get_option( $theme_upgrade_option_name, false );
if ( ! empty( $theme_option_url ) ) {
$utmify_url = $theme_option_url;
$utmify_url = esc_url( $theme_option_url );
}
$plugin_option_url = get_option( $plugin_upgrade_option_name, false );
if ( ! empty( $plugin_option_url ) ) {
$utmify_url = $plugin_option_url;
$utmify_url = esc_url( $plugin_option_url );
}
}

Expand Down

0 comments on commit 28a1476

Please sign in to comment.