Use siteurl instead of home. Props msi08. fixes #7050
git-svn-id: http://svn.automattic.com/wordpress/trunk@8006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f57354bf63
commit
995fe002be
|
@ -274,7 +274,7 @@ require (ABSPATH . WPINC . '/shortcodes.php');
|
||||||
require (ABSPATH . WPINC . '/media.php');
|
require (ABSPATH . WPINC . '/media.php');
|
||||||
|
|
||||||
if ( !defined('WP_CONTENT_URL') )
|
if ( !defined('WP_CONTENT_URL') )
|
||||||
define( 'WP_CONTENT_URL', get_option('home') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
|
define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows for the plugins directory to be moved from the default location.
|
* Allows for the plugins directory to be moved from the default location.
|
||||||
|
|
Loading…
Reference in New Issue