Changeset 6585
- Timestamp:
- 01/09/08 17:48:00 (9 months ago)
- Files:
-
- trunk/wp-includes/l10n.php (modified) (1 diff)
- trunk/wp-includes/plugin.php (modified) (4 diffs)
- trunk/wp-includes/rss.php (modified) (1 diff)
- trunk/wp-settings.php (modified) (24 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/l10n.php
r6563 r6585 54 54 * the second parameter. 55 55 * 56 * If the domain is not set, the the$text is just returned.56 * If the domain is not set, the $text is just returned. 57 57 * 58 58 * @since 2.2.0 trunk/wp-includes/plugin.php
r6361 r6585 74 74 * @package WordPress 75 75 * @subpackage Plugin 76 * @since 2. 476 * @since 2.5 77 77 * @global array $wp_filter Stores all of the filters 78 78 * … … 213 213 * @package WordPress 214 214 * @subpackage Plugin 215 * @since 2. 4215 * @since 2.5 216 216 * 217 217 * @return string Hook name of the current filter or action. … … 396 396 * @package WordPress 397 397 * @subpackage Plugin 398 * @since 2. 4398 * @since 2.5 399 399 * @see has_filter() has_action() is an alias of has_filter(). 400 400 * … … 509 509 * 510 510 * The 'all' hook passes all of the arguments or parameters that were used for the 511 * hook, which this function was called for. The first parameter will have to be tested 512 * as it will be the hook name. 511 * hook, which this function was called for. 513 512 * 514 513 * This function is used internally for apply_filters(), do_action(), and do_action_ref_array() 515 514 * and is not meant to be used from outside those functions. This function does not check for the 516 * existen tof the all hook, so it will fail unless the all hook exists prior to this function call.517 * 518 * @package WordPress 519 * @subpackage Plugin 520 * @since 2. 4515 * existence of the all hook, so it will fail unless the all hook exists prior to this function call. 516 * 517 * @package WordPress 518 * @subpackage Plugin 519 * @since 2.5 521 520 * @access private 522 521 * trunk/wp-includes/rss.php
r6241 r6585 1 1 <?php 2 /** 3 * MagpieRSS: a simple RSS integration tool 4 * 5 * A compiled file for RSS syndication 6 * 7 * @author Kellan Elliott-McCrea <kellan@protest.net> 8 * @version 0.51 9 * @license GPL 10 * 11 * @package External 12 * @subpackage MagpieRSS 13 */ 14 15 /* 16 * Hook to use another RSS object instead of MagpieRSS 17 */ 2 18 do_action('load_feed_engine'); 3 19 4 /*5 * Project: MagpieRSS: a simple RSS integration tool6 * File: A compiled file for RSS syndication7 * Author: Kellan Elliott-McCrea <kellan@protest.net>8 * Version: 0.519 * License: GPL10 */11 20 12 21 define('RSS', 'RSS'); trunk/wp-settings.php
r6522 r6585 4 4 * the WordPress procedural and class library. 5 5 * 6 * You should not have to change this file and allows for some configuration7 * in wp-config.php.6 * You should not have to change this file and allows 7 * for some configuration in wp-config.php. 8 8 * 9 9 * @package WordPress 10 * @since 1.5 11 */ 12 13 /** 14 * Turn register globals off 10 */ 11 12 /** 13 * wp_unregister_GLOBALS() - Turn register globals off 15 14 * 16 15 * @access private 17 * @package WordPress 18 * @since 2.0 16 * @since 2.1.0 19 17 * @return null Will return null if register_globals PHP directive was disabled 20 18 */ … … 39 37 wp_unregister_GLOBALS(); 40 38 41 unset( $wp_filter, $ wp_action, $cache_lastcommentmodified, $cache_lastpostdate );39 unset( $wp_filter, $cache_lastcommentmodified, $cache_lastpostdate ); 42 40 43 41 /** … … 46 44 * 47 45 * @global int $blog_id 48 * @since 2.0 46 * @since 2.0.0 49 47 */ 50 48 if ( ! isset($blog_id) ) … … 98 96 99 97 /** 100 * PHP 4 standard microtime start capture98 * timer_start() - PHP 4 standard microtime start capture 101 99 * 102 100 * @access private 103 * @ package WordPress101 * @since 0.71 104 102 * @global int $timestart Seconds and Microseconds added together from when function is called 105 103 * @return bool Always returns true 106 * @since 0.71107 104 */ 108 105 function timer_start() { … … 115 112 116 113 /** 117 * Return and/or display the time from the page start to when function is called.114 * timer_stop() - Return and/or display the time from the page start to when function is called. 118 115 * 119 116 * You can get the results and print them by doing: … … 130 127 * most cases, you only need to echo it. 131 128 * 132 * @package WordPress133 129 * @since 0.71 134 130 * @global int $timestart Seconds and Microseconds added together from when timer_start() is called … … 155 151 // Add define('WP_DEBUG',true); to wp-config.php to enable display of notices during development. 156 152 if (defined('WP_DEBUG') and WP_DEBUG == true) { 157 error_reporting(E_ALL);153 error_reporting(E_ALL); 158 154 } else { 159 error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);155 error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); 160 156 } 161 157 … … 167 163 * Stores the location of the WordPress directory of functions, classes, and core content. 168 164 * 169 * @since 1. 5165 * @since 1.0.0 170 166 */ 171 167 define('WPINC', 'wp-includes'); … … 176 172 * and uses that folder if it exists. Or it uses the "languages" folder in WPINC. 177 173 * 178 * @since 1.5174 * @since 2.1.0 179 175 */ 180 176 if ( file_exists(ABSPATH . 'wp-content/languages') && @is_dir(ABSPATH . 'wp-content/languages') ) … … 186 182 /** 187 183 * Allows for the plugins directory to be moved from the default location. 184 * 185 * This isn't used everywhere. Constant is not used in plugin_basename() 186 * which might cause conflicts with changing this. 188 187 * 189 188 * @since 2.1 … … 271 270 /** 272 271 * It is possible to define this in wp-config.php 273 * @since 2.0 272 * @since 2.0.0 274 273 */ 275 274 if ( !defined('USER_COOKIE') ) … … 278 277 /** 279 278 * It is possible to define this in wp-config.php 280 * @since 2.0 279 * @since 2.0.0 281 280 */ 282 281 if ( !defined('PASS_COOKIE') ) … … 285 284 /** 286 285 * It is possible to define this in wp-config.php 287 * @since 2. 4286 * @since 2.5 288 287 */ 289 288 if ( !defined('AUTH_COOKIE') ) … … 292 291 /** 293 292 * It is possible to define this in wp-config.php 294 * @since 2.3 293 * @since 2.3.0 295 294 */ 296 295 if ( !defined('TEST_COOKIE') ) … … 299 298 /** 300 299 * It is possible to define this in wp-config.php 301 * @since 2.0300 * @since 1.2.0 302 301 */ 303 302 if ( !defined('COOKIEPATH') ) … … 306 305 /** 307 306 * It is possible to define this in wp-config.php 308 * @since 2.0307 * @since 1.5.0 309 308 */ 310 309 if ( !defined('SITECOOKIEPATH') ) … … 313 312 /** 314 313 * It is possible to define this in wp-config.php 315 * @since 2.0 314 * @since 2.0.0 316 315 */ 317 316 if ( !defined('COOKIE_DOMAIN') ) … … 361 360 * WordPress Query object 362 361 * @global object $wp_the_query 363 * @since 2.0 362 * @since 2.0.0 364 363 */ 365 364 $wp_the_query =& new WP_Query(); … … 369 368 * Use this global for WordPress queries 370 369 * @global object $wp_query 371 * @since 2.0370 * @since 1.5.0 372 371 */ 373 372 $wp_query =& $wp_the_query; … … 376 375 * Holds the WordPress Rewrite object for creating pretty URLs 377 376 * @global object $wp_rewrite 378 * @since 2.0377 * @since 1.5.0 379 378 */ 380 379 $wp_rewrite =& new WP_Rewrite(); … … 383 382 * WordPress Object 384 383 * @global object $wp 385 * @since 2.0 384 * @since 2.0.0 386 385 */ 387 386 $wp =& new WP(); … … 403 402 load_default_textdomain(); 404 403 404 /** 405 * The locale of the blog 406 * @since 1.5.0 407 */ 405 408 $locale = get_locale(); 406 409 $locale_file = ABSPATH . LANGDIR . "/$locale.php"; … … 414 417 * WordPress Locale object for loading locale domain date and various strings. 415 418 * @global object $wp_locale 416 * @since 2.1 419 * @since 2.1.0 417 420 */ 418 421 $wp_locale =& new WP_Locale(); … … 425 428 426 429 /** 427 * Runs just before PHP shuts down execution.430 * shutdown_action_hook() - Runs just before PHP shuts down execution. 428 431 * 429 432 * @access private 430 * @package WordPress 431 * @since 1.5 433 * @since 1.2 432 434 */ 433 435 function shutdown_action_hook() {
