Ticket #11840: wp-settings.php.diff
File wp-settings.php.diff, 920 bytes (added by , 11 years ago) |
---|
-
wp-settings.php
old new 262 262 } 263 263 } 264 264 265 /** 266 * Allows for the plugins directory to be moved from the default location. 267 * 268 * @since 2.6.0 269 */ 270 if ( !defined('WP_PLUGIN_DIR') ) 271 define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash 272 265 273 require (ABSPATH . WPINC . '/compat.php'); 266 274 require (ABSPATH . WPINC . '/functions.php'); 267 275 require (ABSPATH . WPINC . '/classes.php'); … … 396 404 * 397 405 * @since 2.6.0 398 406 */ 399 if ( !defined('WP_PLUGIN_DIR') )400 define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash401 402 /**403 * Allows for the plugins directory to be moved from the default location.404 *405 * @since 2.6.0406 */407 407 if ( !defined('WP_PLUGIN_URL') ) 408 408 define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' ); // full url, no trailing slash 409 409