Skip to content
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

Fix/ajax class #418

Merged
merged 9 commits into from
Dec 13, 2023
Merged

Fix/ajax class #418

merged 9 commits into from
Dec 13, 2023

Conversation

SteveJonesDev
Copy link
Member

This PR sets up the EDAC\Ajax class and moves the AJAX functions out of the main plugin file.

  • Set up EDAC\Ajax in includes/classes/class-ajax.php
  • Moved all Ajax functions out of the main plugin file into this class
  • Cleaned up unnecessary wp_ajax_nopriv_ hooks.
  • Added namespace to Frontend_Highlight class and only instantiated on DOING_AJAX

#403

@SteveJonesDev SteveJonesDev merged commit 4bf7749 into develop Dec 13, 2023
15 checks passed
@SteveJonesDev SteveJonesDev deleted the fix/ajax-class branch December 13, 2023 03:19
@SteveJonesDev SteveJonesDev added this to the v1.8.0 milestone Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant