Make WordPress Core


Ignore:
Timestamp:
07/02/2008 11:07:56 PM (17 years ago)
Author:
mdawaffe
Message:

crazyhorse: merge with log:trunk@8151:8240

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/crazyhorse/wp-settings.php

    r8069 r8242  
    9898
    9999if ( version_compare( '4.3', phpversion(), '>' ) ) {
    100     die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.3.' );
     100    die( sprintf( /*WP_I18N_OLD_PHP*/'Your server is running PHP version %s but WordPress requires at least 4.3.'/*/WP_I18N_OLD_PHP*/, php_version() ) );
    101101}
    102102
     
    105105
    106106if ( !extension_loaded('mysql') && !file_exists(WP_CONTENT_DIR . '/db.php') )
    107     die( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' );
     107    die( /*WP_I18N_OLD_MYSQL*/'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.'/*/WP_I18N_OLD_MYSQL*/ );
    108108
    109109/**
     
    213213
    214214if ( is_wp_error($prefix) )
    215     wp_die('<strong>ERROR</strong>: <code>$table_prefix</code> in <code>wp-config.php</code> can only contain numbers, letters, and underscores.');
     215    wp_die(/*WP_I18N_BAD_PREFIX*/'<strong>ERROR</strong>: <code>$table_prefix</code> in <code>wp-config.php</code> can only contain numbers, letters, and underscores.'/*/WP_I18N_BAD_PREFIX*/);
    216216
    217217if ( file_exists(WP_CONTENT_DIR . '/object-cache.php') )
     
    363363/**
    364364 * It is possible to define this in wp-config.php
     365 * @since 2.6
     366 */
     367if ( !defined('ADMIN_COOKIE_PATH') )
     368    define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH . 'wp-admin' );
     369
     370/**
     371 * It is possible to define this in wp-config.php
     372 * @since 2.6
     373 */
     374if ( !defined('PLUGINS_COOKIE_PATH') )
     375    define( 'PLUGINS_COOKIE_PATH', preg_replace('|https?://[^/]+|i', '', WP_PLUGIN_URL)  );
     376
     377/**
     378 * It is possible to define this in wp-config.php
    365379 * @since 2.0.0
    366380 */
Note: See TracChangeset for help on using the changeset viewer.