Load snapchat assets on any wp-admin route#56
Open
AlejandroPerezMartin wants to merge 1 commit intotrunkfrom
Open
Load snapchat assets on any wp-admin route#56AlejandroPerezMartin wants to merge 1 commit intotrunkfrom
AlejandroPerezMartin wants to merge 1 commit intotrunkfrom
Conversation
asvinb
approved these changes
Feb 18, 2026
Collaborator
QA Status: ✅ Fixed=== Environment
Test Results: The issue has been resolved. The “Sorry, you are not allowed to access this page” warning is no longer appearing. I tested across multiple scenarios, including navigating through other plugin tabs and the Overview tab, and everything is working as expected. Recording.1758.mp4 |
ankitguptaindia
approved these changes
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed in this Pull Request:
Loads Snapchat for Woocommerce assets on /wc-admin routes to make SPA navigation work.
Since WooCommerce routes use JavaScript-based navigation, the PHP logic that checks the current route to load Snapchat assets doesn't execute when navigating from one WooCommerce subpage to another. As in the Google for Woocommerce plugin, the assets should be loaded under any Woocommerce route.
Closes https://linear.app/a8c/issue/SNAPWOO-74/error-loading-main-plugin-page-from-menu
Screenshots:
Detailed test instructions:
Important: You need to use a publicly accessible URL e.g. Ngrok; local URL's (e.g.
woo.test) will not work.Additional details:
Changelog entry
Prevent adblockers from blocking auto-generated images in the preview