Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19707, comment 7


Ignore:
Timestamp:
02/19/2018 05:42:05 PM (6 years ago)
Author:
letsdogood
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19707, comment 7

    initial v1  
    33This really is an averse side effect only because of the wordpress-specific quirk that for whatever historical reasons Ajax is somehow a function of / belongs under Admin, which arguably shouldn't be the case to begin with.
    44
    5 If at least admin_url('admin-ajax.php') could have an expected default behavior of *not* respecting force_ssl_admin() and would only be messing with the scheme in other-than-expected ways only when parameters are passed, it seems to me that would make much more sense and alleviate this particular pain for another while.
     5If at least admin_url('admin-ajax.php') could have an expected default behavior of *not* respecting force_ssl_admin() and would only be messing with the scheme in other-than-expected ways only when parameters are passed, it seems to me that would make much more sense from a web development / web application framework perspective.
    66
    7 Technicality question: Would such a change (making admin_url('admin-ajax.php') deduce the correct & expected scheme rather than force_ssl_admin()) break many websites?
     7----
     8
     9'''Technicality question'''
     10Would such a change (making admin_url('admin-ajax.php') deduce the correct & expected scheme rather than force_ssl_admin()) break many websites?