Make WordPress Core


Ignore:
Timestamp:
01/15/2010 10:11:12 PM (17 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-constants.php

    r12732 r12733  
    2727                                }
    2828                        }
    29                        
     29
    3030                        /**
    3131                         * The $blog_id global, which you can change in the config allows you to create a simple
    … …  
    3737                        if ( ! isset($blog_id) )
    3838                                $blog_id = 1;
    39                        
     39
    4040                        // set memory limits.
    4141                        if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < abs(intval(WP_MEMORY_LIMIT)) ) )
    4242                                @ini_set('memory_limit', WP_MEMORY_LIMIT);
    43                        
     43
    4444                        if ( !defined('WP_CONTENT_DIR') )
    4545                                define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down
    46                        
     46
    4747                        // Add define('WP_DEBUG', true); to wp-config.php to enable display of notices during development.
    4848                        if ( !defined('WP_DEBUG') )
    4949                                define( 'WP_DEBUG', false );
    50                        
     50
    5151                        // Add define('WP_DEBUG_DISPLAY', false); to wp-config.php to use the globally configured setting for display_errors and not force it to On
    5252                        if ( !defined('WP_DEBUG_DISPLAY') )
    5353                                define( 'WP_DEBUG_DISPLAY', true );
    54                        
     54
    5555                        // Add define('WP_DEBUG_LOG', true); to enable php debug logging to WP_CONTENT_DIR/debug.log
    5656                        if ( !defined('WP_DEBUG_LOG') )
    5757                                define('WP_DEBUG_LOG', false);
    58                        
     58
    5959                        if ( !defined('WP_CACHE') )
    6060                                define('WP_CACHE', false);
    61                        
     61
    6262                        /**
    6363                         * Private
    … …  
    6565                        if ( !defined('MEDIA_TRASH') )
    6666                                define('MEDIA_TRASH', false);
    67                        
     67
    6868                        if ( !defined('SHORTINIT') )
    6969                                define('SHORTINIT', false);
    … …  
    7474                        if ( !defined('WP_CONTENT_URL') )
    7575                                define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
    76                
     76
    7777                        /**
    7878                         * Allows for the plugins directory to be moved from the default location.
    … …  
    8282                        if ( !defined('WP_PLUGIN_DIR') )
    8383                                define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash
    84                
     84
    8585                        /**
    8686                         * Allows for the plugins directory to be moved from the default location.
    … …  
    9090                        if ( !defined('WP_PLUGIN_URL') )
    9191                                define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' ); // full url, no trailing slash
    92                
     92
    9393                        /**
    9494                         * Allows for the plugins directory to be moved from the default location.
    … …  
    109109                        if ( !defined('WPMU_PLUGIN_DIR') )
    110110                                define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' ); // full path, no trailing slash
    111                
     111
    112112                        /**
    113113                         * Allows for the mu-plugins directory to be moved from the default location.
    … …  
    117117                        if ( !defined('WPMU_PLUGIN_URL') )
    118118                                define( 'WPMU_PLUGIN_URL', WP_CONTENT_URL . '/mu-plugins' ); // full url, no trailing slash
    119                
     119
    120120                        /**
    121121                         * Allows for the mu-plugins directory to be moved from the default location.
    … …  
    130130
    131131                        global $wp_default_secret_key;
    132                
     132
    133133                        /**
    134134                         * Used to guarantee unique hash cookies
    … …  
    137137                        if( !defined('COOKIEHASH') )
    138138                                        define('COOKIEHASH', md5(get_option('siteurl')));
    139                
     139
    140140                        /**
    141141                         * Should be exactly the same as the default value of SECRET_KEY in wp-config-sample.php
    … …  
    143143                         */
    144144                        $wp_default_secret_key = 'put your unique phrase here';
    145                
     145
    146146                        /**
    147147                         * It is possible to define this in wp-config.php
    … …  
    150150                        if ( !defined('USER_COOKIE') )
    151151                                define('USER_COOKIE', 'wordpressuser_' . COOKIEHASH);
    152                
     152
    153153                        /**
    154154                         * It is possible to define this in wp-config.php
    … …  
    157157                        if ( !defined('PASS_COOKIE') )
    158158                                define('PASS_COOKIE', 'wordpresspass_' . COOKIEHASH);
    159                
     159
    160160                        /**
    161161                         * It is possible to define this in wp-config.php
    … …  
    164164                        if ( !defined('AUTH_COOKIE') )
    165165                                define('AUTH_COOKIE', 'wordpress_' . COOKIEHASH);
    166                
     166
    167167                        /**
    168168                         * It is possible to define this in wp-config.php
    … …  
    171171                        if ( !defined('SECURE_AUTH_COOKIE') )
    172172                                define('SECURE_AUTH_COOKIE', 'wordpress_sec_' . COOKIEHASH);
    173                
     173
    174174                        /**
    175175                         * It is possible to define this in wp-config.php
    … …  
    178178                        if ( !defined('LOGGED_IN_COOKIE') )
    179179                                define('LOGGED_IN_COOKIE', 'wordpress_logged_in_' . COOKIEHASH);
    180                
     180
    181181                        /**
    182182                         * It is possible to define this in wp-config.php
    … …  
    185185                        if ( !defined('TEST_COOKIE') )
    186186                                define('TEST_COOKIE', 'wordpress_test_cookie');
    187                
     187
    188188                        /**
    189189                         * It is possible to define this in wp-config.php
    … …  
    192192                        if ( !defined('COOKIEPATH') )
    193193                                define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' ) );
    194                
     194
    195195                        /**
    196196                         * It is possible to define this in wp-config.php
    … …  
    199199                        if ( !defined('SITECOOKIEPATH') )
    200200                                define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('siteurl') . '/' ) );
    201                
     201
    202202                        /**
    203203                         * It is possible to define this in wp-config.php
    … …  
    206206                        if ( !defined('ADMIN_COOKIE_PATH') )
    207207                                define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH . 'wp-admin' );
    208                
     208
    209209                        /**
    210210                         * It is possible to define this in wp-config.php
    … …  
    213213                        if ( !defined('PLUGINS_COOKIE_PATH') )
    214214                                define( 'PLUGINS_COOKIE_PATH', preg_replace('|https?://[^/]+|i', '', WP_PLUGIN_URL)  );
    215                
     215
    216216                        /**
    217217                         * It is possible to define this in wp-config.php
    … …  
    220220                        if ( !defined('COOKIE_DOMAIN') )
    221221                                define('COOKIE_DOMAIN', false);
    222                
     222
    223223                        /**
    224224                         * It is possible to define this in wp-config.php
    … …  
    228228                                define('FORCE_SSL_ADMIN', false);
    229229                        force_ssl_admin(FORCE_SSL_ADMIN);
    230                
     230
    231231                        /**
    232232                         * It is possible to define this in wp-config.php
    … …  
    236236                                define('FORCE_SSL_LOGIN', false);
    237237                        force_ssl_login(FORCE_SSL_LOGIN);
    238                
     238
    239239                        /**
    240240                         * It is possible to define this in wp-config.php
    … …  
    243243                        if ( !defined( 'AUTOSAVE_INTERVAL' ) )
    244244                                define( 'AUTOSAVE_INTERVAL', 60 );
    245                
     245
    246246                        /**
    247247                         * It is possible to define this in wp-config.php
    … …  
    265265                         */
    266266                        define('TEMPLATEPATH', get_template_directory());
    267                
     267
    268268                        /**
    269269                         * Web Path to the current active template stylesheet directory
Note: See TracChangeset for help on using the changeset viewer.