-
-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit enqueue to specific pages #711
Comments
@cfoellmann I believe I already limit the loading to specific pages. Let’s follow the loading. The Install page loads from Yes, the JS loads on all pages that GHU loads but it’s not on all admin pages. Because the JS loads from the Also, this only effects users who have the proper privileges. |
This question brings up a larger issue that I need to step through. Perhaps I can limit simply limit the loading of |
I think 6b4e1b7 should fix this issue. LMK if it caused any issues. |
Currently the
ghu-install.js
is loaded on all is_admin() pages.This could be limited to the GH Updater Settings pages, right?
I would suggest the following code in
src/GitHub_Updater/Install.php
:Or if there is/will be more than that one page hook
The text was updated successfully, but these errors were encountered: