Use siteurl instead of home. Props msi08. fixes #7050
git-svn-id: https://develop.svn.wordpress.org/trunk@8006 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e68bc53d0d
commit
039f8153de
@ -274,7 +274,7 @@ require (ABSPATH . WPINC . '/shortcodes.php');
|
||||
require (ABSPATH . WPINC . '/media.php');
|
||||
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user