Ticket #13941: default-contstants.patch
File default-contstants.patch, 604 bytes (added by , 15 years ago) |
---|
-
default-constants.php
75 75 */ 76 76 function wp_plugin_directory_constants( ) { 77 77 if ( !defined('WP_CONTENT_URL') ) 78 define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up78 define( 'WP_CONTENT_URL', site_url() . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up 79 79 80 80 /** 81 81 * Allows for the plugins directory to be moved from the default location.