If you look at the docs for window.open() you'll see the second parameter is actually for naming the window if it doesn't reference an existing context, and webkit (chrome) has been having issues for the longest time with this.
You mention the button triggers a pop-up, but _self
would basically treat it like you're clicking on a standard link, no? You may be better off using a standard link:
<a class="btn btn-bg-no btn-border-green btn-color-green hvr hvr-buzz-out" href="<?php echo esc_url( $menu_btn_url ); ?>">
<?php echo esc_html( $menu_btn ); ?>
</a>
If for some reason you want an onclick
event, you'd probably be better suited using window.location.href
instead of window.open
:
<button class="btn btn-bg-no btn-border-green btn-color-green hvr hvr-buzz-out" onclick="window.location.href = '<?php echo esc_url( $menu_btn_url ); ?>'">
<?php echo esc_html( $menu_btn ); ?>
</button>
Also, a side note your SSL certificate on your website isn't working as it's issued to auditerra.ru
and not intererka.auditerra.ru
or *.auditerra.ru