Ticket #13941: 13941.diff
File 13941.diff, 648 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/default-constants.php
132 132 */ 133 133 function wp_plugin_directory_constants() { 134 134 if ( !defined('WP_CONTENT_URL') ) 135 define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up135 define( 'WP_CONTENT_URL', site_url() . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up 136 136 137 137 /** 138 138 * Allows for the plugins directory to be moved from the default location.