WordPress.org

Make WordPress Core

Ticket #11840: wp-settings.php.diff

File wp-settings.php.diff, 920 bytes (added by sirzooro, 4 years ago)
  • wp-settings.php

    old new  
    262262        } 
    263263} 
    264264 
     265/** 
     266 * Allows for the plugins directory to be moved from the default location. 
     267 * 
     268 * @since 2.6.0 
     269 */ 
     270if ( !defined('WP_PLUGIN_DIR') ) 
     271        define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash 
     272 
    265273require (ABSPATH . WPINC . '/compat.php'); 
    266274require (ABSPATH . WPINC . '/functions.php'); 
    267275require (ABSPATH . WPINC . '/classes.php'); 
     
    396404 * 
    397405 * @since 2.6.0 
    398406 */ 
    399 if ( !defined('WP_PLUGIN_DIR') ) 
    400         define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash 
    401  
    402 /** 
    403  * Allows for the plugins directory to be moved from the default location. 
    404  * 
    405  * @since 2.6.0 
    406  */ 
    407407if ( !defined('WP_PLUGIN_URL') ) 
    408408        define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' ); // full url, no trailing slash 
    409409