Make WordPress Core

Changeset 36061


Ignore:
Timestamp:
12/22/2015 01:01:31 PM (9 years ago)
Author:
johnbillion
Message:

Revert [35804]. This change has unintended side effects, notably that media URLs in the admin area now unexpectedly use the https scheme. A more comprehensive approach will be taken in 4.5.

See #13941, #35120

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-constants.php

    r35804 r36061  
    133133function wp_plugin_directory_constants() {
    134134    if ( !defined('WP_CONTENT_URL') )
    135         define( 'WP_CONTENT_URL', site_url() . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
     135        define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
    136136
    137137    /**
Note: See TracChangeset for help on using the changeset viewer.