[wp-trac] [WordPress Trac] #33156: Allow admin-ajax crawling
WordPress Trac
noreply at wordpress.org
Mon Aug 3 13:47:52 UTC 2015
#33156: Allow admin-ajax crawling
-------------------------+------------------------------
Reporter: joostdevalk | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+------------------------------
Comment (by dmchale):
Replying to [comment:7 knutsp]:
> -1
>
> I don't think this should be in core. Themes should not depend on, or
access, `/wp-admin`. If they do, they should fix the "crawlablity" of it
through hooks. Core may offer an ajax endpoint outside `/wp-admin`, if
necessary.
>
> One day, for some, it should be possible to delete `/wp-admin` and
install or use an alternative admin through `WP REST API`. In the mean
time, find another solution to this problem.
Right now Core '''only''' offers ajax functionality through /wp-admin.
Your proposal to CHANGE that fact is a much different discussion, IMO.
[https://codex.wordpress.org/AJAX_in_Plugins] "Note 2: Both front-end and
back-end Ajax requests use admin-ajax.php [...]"
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33156#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list