-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Navigation Editor: use 'ajaxurl' global in batchSave action #31028
Conversation
Size Change: +1.17 kB (0%) Total Size: 1.47 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this by following the instructions over at https://wordpress.org/support/article/giving-wordpress-its-own-directory/#method-i-without-url-change.
Menu saving and editing worked perfectly.
The ajaxurl
was available on window
. If I manually modified it to remove that property then the fallback also worked.
Thanks for the review, @getdave. |
Description
PR fixes navigation saving issue when WordPress is in a subdirectory.
Fixes #25181.
How has this been tested?
Types of changes
Bugfix
Checklist:
*.native.js
files for terms that need renaming or removal).