[wp-trac] [WordPress Trac] #22589: Network Admin + Ajax requests
WordPress Trac
noreply at wordpress.org
Wed Aug 20 19:40:58 UTC 2025
#22589: Network Admin + Ajax requests
--------------------------------+----------------------------------------
Reporter: dd32 | Owner: (none)
Type: enhancement | Status: reviewing
Priority: normal | Milestone:
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite, administration
--------------------------------+----------------------------------------
Comment (by johnjamesjacoby):
Replying to [comment:22 jeremyfelt]:
> > I didn't see any previous tickets, and kind of want to say the
existing 'workaround' is appropriate, but recording it here so we can at
least close it as wontfix if appropriate.
>
> I kind of like this.
>
> One question: is an `admin-ajax.php` flow still desirable or is it nicer
now to register REST route instead?
I've always been fine with the work-arounds, and most likely would not
update my network-only plugins to maintain both approaches to cover the
supported WP version spread.
New plugins, I could see `admin-ajax.php` being desirable in situations
where a whole new REST route may not be.
I think we should add support for user admin at the same time we do
network admin here, or create a new ticket and cross-reference them in
back-to-back'ish commits.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22589#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list