Ticket #11589: 11589.diff
File 11589.diff, 1.7 KB (added by , 15 years ago) |
---|
-
wp-config-sample.php
### Eclipse Workspace Patch 1.0 #P wordpress-trunk
66 66 */ 67 67 define ('WPLANG', ''); 68 68 69 /** 70 * Whether or not to make the functions that have been deprecated available. 71 * 72 * Defaults to false for new installs but to true for old installs so that existing 73 * sites are not broken on upgrade 74 */ 75 define( 'WP_ENABLE_DEPRECATED_FUNCTIONS', false ); 76 69 77 /* That's all, stop editing! Happy blogging. */ 70 78 71 79 /** Absolute path to the WordPress directory. */ -
wp-settings.php
378 378 require (ABSPATH . WPINC . '/kses.php'); 379 379 require (ABSPATH . WPINC . '/cron.php'); 380 380 require (ABSPATH . WPINC . '/version.php'); 381 require (ABSPATH . WPINC . '/deprecated.php');382 381 require (ABSPATH . WPINC . '/script-loader.php'); 383 382 require (ABSPATH . WPINC . '/taxonomy.php'); 384 383 require (ABSPATH . WPINC . '/update.php'); … … 388 387 require (ABSPATH . WPINC . '/http.php'); 389 388 require (ABSPATH . WPINC . '/widgets.php'); 390 389 390 /** 391 * Whether or not to make the functions we have deprecated available. 392 * 393 * @since 3.0.0 394 */ 395 if ( !defined( 'WP_ENABLE_DEPRECATED_FUNCTIONS' ) ) 396 define( 'WP_ENABLE_DEPRECATED_FUNCTIONS', true ); 397 398 if ( WP_ENABLE_DEPRECATED_FUNCTIONS ) 399 require (ABSPATH . WPINC . '/deprecated.php'); 400 401 402 391 403 if ( !defined('WP_CONTENT_URL') ) 392 404 define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up 393 405