WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43738, comment 18


Ignore:
Timestamp:
04/30/2018 04:54:19 PM (2 years ago)
Author:
mnelson4
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43738, comment 18

    initial v1  
    11> I'm not sure we can reliably handle this by making AJAX requests to each site from the dashboard due to CORS.
    22
    3 Good point. Couldn't that be overcome by having some server-side code that instructs AJAX requests to allow requests from the main site for this particular case?
     3Good point to bring up, but couldn't that be overcome by sending CORS `Access-Control-Allow-Origin: *` headers on these AJAX requests?
    44
    55> A side-effect of using switch_to_blog() to schedule cron events on many sites is that any plugins hooking into WP's cron system will not be available. This could cause unknown issues with how those events are (or aren't) run.