WordPress.org

Make WordPress Core

Ticket #7050: 7050.patch

File 7050.patch, 580 bytes (added by ionfish, 10 years ago)
  • wp-settings.php

     
    274274require (ABSPATH . WPINC . '/media.php');
    275275
    276276if ( !defined('WP_CONTENT_URL') )
    277         define( 'WP_CONTENT_URL', get_option('home') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
     277        define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
    278278
    279279/**
    280280 * Allows for the plugins directory to be moved from the default location.