WordPress.org

Make WordPress Core

Ticket #7050: wp-settings.diff.php

File wp-settings.diff.php, 549 bytes (added by msi08, 6 years ago)
Line 
1--- /trunk/wordpress/wp-settings.php    2008-05-28 08:57:14.000000000 +0200
2+++ ./wp-settings.php   2008-05-28 11:48:30.000000000 +0200
3@@ -274,7 +274,7 @@
4 require (ABSPATH . WPINC . '/media.php');
5 
6 if ( !defined('WP_CONTENT_URL') )
7-       define( 'WP_CONTENT_URL', get_option('home') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
8+       define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
9 
10 /**
11  * Allows for the plugins directory to be moved from the default location.