[wp-trac] [WordPress Trac] #45022: Add a wp-ajax.php at the root of wordpress
WordPress Trac
noreply at wordpress.org
Sun Mar 3 20:27:51 UTC 2024
#45022: Add a wp-ajax.php at the root of wordpress
------------------------------------------------+----------------------
Reporter: tofandel | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: REST API | Version:
Severity: normal | Resolution: wontfix
Keywords: needs-patch needs-docs needs-codex | Focuses:
------------------------------------------------+----------------------
Comment (by nickchomey):
I'm very late here, but this doesn't make any sense. Tons of plugins and
themes use AJAX calls, so you're effectively saying "rewrite everything in
the REST API". Moreover, from the reasoning provided here and in #12400,
admin-ajax.php should just be deprecated altogether. In lieu of such a
terrible idea (and keeping with WordPress' extreme commitment to backwards
compatibility), a more performant ajax handler should be introduced.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45022#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list