[wp-trac] [WordPress Trac] #19707: admin-ajax.php requests via http regardless of force_ssl_admin() state

WordPress Trac noreply at wordpress.org
Wed Aug 28 07:17:46 UTC 2013


#19707: admin-ajax.php requests via http regardless of force_ssl_admin() state
-------------------------------------------------+-------------------------
 Reporter:  robertaccettura                      |       Owner:
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  HTTP                                 |     Version:
 Severity:  normal                               |  Resolution:  worksforme
 Keywords:  reporter-feedback has-patch dev-     |
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Calling `admin_url( 'admin-ajax.php' );` without a scheme, or passing
 `'admin'` (the default) as the scheme, will result in it respecting the
 SSL-for-admin.

 A plugin developer can always override these and do things badly, but
 that's a plugin code issue, it's not something core can support (If a
 plugin requests something specific, we give it just as it asked for).

--
Ticket URL: <http://core.trac.wordpress.org/ticket/19707#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list