Changeset 6585

Show
Ignore:
Timestamp:
01/09/08 17:48:00 (9 months ago)
Author:
ryan
Message:

phpdoc tuneup from darkdragon. see #5611

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/l10n.php

    r6563 r6585  
    5454 * the second parameter. 
    5555 * 
    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. 
    5757 * 
    5858 * @since 2.2.0 
  • trunk/wp-includes/plugin.php

    r6361 r6585  
    7474 * @package WordPress 
    7575 * @subpackage Plugin 
    76  * @since 2.4 
     76 * @since 2.5 
    7777 * @global array $wp_filter Stores all of the filters 
    7878 * 
     
    213213 * @package WordPress 
    214214 * @subpackage Plugin 
    215  * @since 2.4 
     215 * @since 2.5 
    216216 * 
    217217 * @return string Hook name of the current filter or action. 
     
    396396 * @package WordPress 
    397397 * @subpackage Plugin 
    398  * @since 2.4 
     398 * @since 2.5 
    399399 * @see has_filter() has_action() is an alias of has_filter(). 
    400400 * 
     
    509509 * 
    510510 * 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. 
    513512 * 
    514513 * This function is used internally for apply_filters(), do_action(), and do_action_ref_array() 
    515514 * and is not meant to be used from outside those functions. This function does not check for the 
    516  * existent of 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.4 
     515 * 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 
    521520 * @access private 
    522521 * 
  • trunk/wp-includes/rss.php

    r6241 r6585  
    11<?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 */ 
    218do_action('load_feed_engine'); 
    319 
    4 /* 
    5  * Project:     MagpieRSS: a simple RSS integration tool 
    6  * File:        A compiled file for RSS syndication 
    7  * Author:      Kellan Elliott-McCrea <kellan@protest.net> 
    8  * Version:     0.51 
    9  * License:     GPL 
    10  */ 
    1120 
    1221define('RSS', 'RSS'); 
  • trunk/wp-settings.php

    r6522 r6585  
    44 * the WordPress procedural and class library. 
    55 * 
    6  * You should not have to change this file and allows for some configuration 
    7  * in wp-config.php. 
     6 * You should not have to change this file and allows 
     7 * for some configuration in wp-config.php. 
    88 * 
    99 * @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 
    1514 * 
    1615 * @access private 
    17  * @package WordPress 
    18  * @since 2.0 
     16 * @since 2.1.0 
    1917 * @return null Will return null if register_globals PHP directive was disabled 
    2018 */ 
     
    3937wp_unregister_GLOBALS(); 
    4038 
    41 unset( $wp_filter, $wp_action, $cache_lastcommentmodified, $cache_lastpostdate ); 
     39unset( $wp_filter, $cache_lastcommentmodified, $cache_lastpostdate ); 
    4240 
    4341/** 
     
    4644 * 
    4745 * @global int $blog_id 
    48  * @since 2.0 
     46 * @since 2.0.0 
    4947 */ 
    5048if ( ! isset($blog_id) ) 
     
    9896 
    9997/** 
    100  * PHP 4 standard microtime start capture 
     98 * timer_start() - PHP 4 standard microtime start capture 
    10199 * 
    102100 * @access private 
    103  * @package WordPress 
     101 * @since 0.71 
    104102 * @global int $timestart Seconds and Microseconds added together from when function is called 
    105103 * @return bool Always returns true 
    106  * @since 0.71 
    107104 */ 
    108105function timer_start() { 
     
    115112 
    116113/** 
    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. 
    118115 * 
    119116 * You can get the results and print them by doing: 
     
    130127 * most cases, you only need to echo it. 
    131128 * 
    132  * @package WordPress 
    133129 * @since 0.71 
    134130 * @global int $timestart Seconds and Microseconds added together from when timer_start() is called 
     
    155151// Add define('WP_DEBUG',true); to wp-config.php to enable display of notices during development. 
    156152if (defined('WP_DEBUG') and WP_DEBUG == true) { 
    157    error_reporting(E_ALL); 
     153   error_reporting(E_ALL); 
    158154} else { 
    159    error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); 
     155   error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); 
    160156} 
    161157 
     
    167163 * Stores the location of the WordPress directory of functions, classes, and core content. 
    168164 * 
    169  * @since 1.5 
     165 * @since 1.0.0 
    170166 */ 
    171167define('WPINC', 'wp-includes'); 
     
    176172     * and uses that folder if it exists. Or it uses the "languages" folder in WPINC. 
    177173     * 
    178      * @since 1.5 
     174     * @since 2.1.0 
    179175     */ 
    180176    if ( file_exists(ABSPATH . 'wp-content/languages') && @is_dir(ABSPATH . 'wp-content/languages') ) 
     
    186182/** 
    187183 * 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. 
    188187 * 
    189188 * @since 2.1 
     
    271270/** 
    272271 * It is possible to define this in wp-config.php 
    273  * @since 2.0 
     272 * @since 2.0.0 
    274273 */ 
    275274if ( !defined('USER_COOKIE') ) 
     
    278277/** 
    279278 * It is possible to define this in wp-config.php 
    280  * @since 2.0 
     279 * @since 2.0.0 
    281280 */ 
    282281if ( !defined('PASS_COOKIE') ) 
     
    285284/** 
    286285 * It is possible to define this in wp-config.php 
    287  * @since 2.4 
     286 * @since 2.5 
    288287 */ 
    289288if ( !defined('AUTH_COOKIE') ) 
     
    292291/** 
    293292 * It is possible to define this in wp-config.php 
    294  * @since 2.3 
     293 * @since 2.3.0 
    295294 */ 
    296295if ( !defined('TEST_COOKIE') ) 
     
    299298/** 
    300299 * It is possible to define this in wp-config.php 
    301  * @since 2.0 
     300 * @since 1.2.0 
    302301 */ 
    303302if ( !defined('COOKIEPATH') ) 
     
    306305/** 
    307306 * It is possible to define this in wp-config.php 
    308  * @since 2.0 
     307 * @since 1.5.0 
    309308 */ 
    310309if ( !defined('SITECOOKIEPATH') ) 
     
    313312/** 
    314313 * It is possible to define this in wp-config.php 
    315  * @since 2.0 
     314 * @since 2.0.0 
    316315 */ 
    317316if ( !defined('COOKIE_DOMAIN') ) 
     
    361360 * WordPress Query object 
    362361 * @global object $wp_the_query 
    363  * @since 2.0 
     362 * @since 2.0.0 
    364363 */ 
    365364$wp_the_query =& new WP_Query(); 
     
    369368 * Use this global for WordPress queries 
    370369 * @global object $wp_query 
    371  * @since 2.0 
     370 * @since 1.5.0 
    372371 */ 
    373372$wp_query     =& $wp_the_query; 
     
    376375 * Holds the WordPress Rewrite object for creating pretty URLs 
    377376 * @global object $wp_rewrite 
    378  * @since 2.0 
     377 * @since 1.5.0 
    379378 */ 
    380379$wp_rewrite   =& new WP_Rewrite(); 
     
    383382 * WordPress Object 
    384383 * @global object $wp 
    385  * @since 2.0 
     384 * @since 2.0.0 
    386385 */ 
    387386$wp           =& new WP(); 
     
    403402load_default_textdomain(); 
    404403 
     404/** 
     405 * The locale of the blog 
     406 * @since 1.5.0 
     407 */ 
    405408$locale = get_locale(); 
    406409$locale_file = ABSPATH . LANGDIR . "/$locale.php"; 
     
    414417 * WordPress Locale object for loading locale domain date and various strings. 
    415418 * @global object $wp_locale 
    416  * @since 2.1 
     419 * @since 2.1.0 
    417420 */ 
    418421$wp_locale =& new WP_Locale(); 
     
    425428 
    426429/** 
    427  * Runs just before PHP shuts down execution. 
     430 * shutdown_action_hook() - Runs just before PHP shuts down execution. 
    428431 * 
    429432 * @access private 
    430  * @package WordPress 
    431  * @since 1.5 
     433 * @since 1.2 
    432434 */ 
    433435function shutdown_action_hook() {