Make WordPress Core


Ignore:
Timestamp:
06/24/2008 10:19:27 PM (16 years ago)
Author:
ryan
Message:

SSL fixes. see #7001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r8189 r8190  
    851851            post_params : {
    852852                "post_id" : "<?php echo $post_id; ?>",
    853                 "auth_cookie" : "<?php echo $_COOKIE[AUTH_COOKIE]; ?>",
     853                "auth_cookie" : "<?php if ( is_ssl() ) echo $_COOKIE[SECURE_AUTH_COOKIE]; else echo $_COOKIE[AUTH_COOKIE]; ?>",
    854854                "_wpnonce" : "<?php echo wp_create_nonce('media-form'); ?>",
    855855                "type" : "<?php echo $type; ?>",
Note: See TracChangeset for help on using the changeset viewer.