Hi @aarshatk,
Thank you for bringing this to our attention and for taking the time to report it — we truly appreciate your diligence!
We understand this is concerning. The behavior you’ve described — where Astra overrides the native window.open function via astra/admin/includes/class-astra-menu.php — is something our development team would want to investigate closely.
To help us look into this properly, could you please share a few more details?
1. **Which version of Astra** are you currently running? *(You can check this under Appearance → Themes in your WordPress dashboard.)*
2. **How are you reproducing the issue?** A step-by-step description or a sample code snippet would go a long way.
3. **Are there any conflicts** with other plugins or a page builder you’re using (like Elementor or Beaver Builder)?
In the meantime, here are a couple of things we’d suggest:
– **Check for updates** — If you’re not on the latest version of Astra, please update via **Appearance → Themes → Update**. Our team regularly ships fixes, and this may already be addressed.
– **Visit our Troubleshooting docs** at this link for guidance on diagnosing theme-related issues.
We take reports like this seriously and want to make sure this gets the attention it deserves. Hang tight — we’ll get to the bottom of it!
With Regards
Humayon
Hi @humayonk
Thanks for your reply.
I checked this further and it looks like the window.open override was introduced in Astra v4.13.1. Since this script appears to be enqueued on admin pages, it can conflict with other plugins that rely on the native window.open behavior.
Here is the relevant changeset for reference:
https://themes.trac.wordpress.org/changeset/325009/astra/4.13.1/admin/includes/class-astra-menu.php#:~:text=window.open%20%3D%20function,%C2%A0%20%C2%A0%20%7D%3B
Could you please review this and consider avoiding the global override of window.open, or scoping it only to the specific Astra admin flow where it is needed?
Thanks.
Hi @aarshatk
Thanks for your reply.
Is there any visible conflict with any plugins yet, so that we can review and debug the issue further?
With Regards
Humayon