Make WordPress Core

Changeset 9243 for trunk/wp-settings.php


Ignore:
Timestamp:
10/18/2008 08:46:30 PM (15 years ago)
Author:
ryan
Message:

phpdoc corrections from jacobsantos. see #7918

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r9163 r9243  
    1818
    1919/**
    20  * wp_unregister_GLOBALS() - Turn register globals off
     20 * Turn register globals off.
    2121 *
    2222 * @access private
     
    143143
    144144/**
    145  * timer_start() - PHP 4 standard microtime start capture
     145 * PHP 4 standard microtime start capture.
    146146 *
    147147 * @access private
    148148 * @since 0.71
    149  * @global int $timestart Seconds and Microseconds added together from when function is called
    150  * @return bool Always returns true
     149 * @global int $timestart Seconds and Microseconds added together from when function is called.
     150 * @return bool Always returns true.
    151151 */
    152152function timer_start() {
     
    159159
    160160/**
    161  * timer_stop() - Return and/or display the time from the page start to when function is called.
     161 * Return and/or display the time from the page start to when function is called.
    162162 *
    163163 * You can get the results and print them by doing:
     
    316316 * Allows for the plugins directory to be moved from the default location.
    317317 *
    318  * @since 2.6
     318 * @since 2.6.0
    319319 */
    320320if ( !defined('WP_PLUGIN_DIR') )
    321321    define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash
     322
     323/**
     324 * Allows for the plugins directory to be moved from the default location.
     325 *
     326 * @since 2.6.0
     327 */
    322328if ( !defined('WP_PLUGIN_URL') )
    323329    define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' ); // full url, no trailing slash
     330
     331/**
     332 * Allows for the plugins directory to be moved from the default location.
     333 *
     334 * @since 2.1.0
     335 */
    324336if ( !defined('PLUGINDIR') )
    325337    define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH.  For back compat.
     
    337349/**
    338350 * Should be exactly the same as the default value of SECRET_KEY in wp-config-sample.php
    339  * @since 2.5
     351 * @since 2.5.0
    340352 */
    341353$wp_default_secret_key = 'put your unique phrase here';
     
    357369/**
    358370 * It is possible to define this in wp-config.php
    359  * @since 2.5
     371 * @since 2.5.0
    360372 */
    361373if ( !defined('AUTH_COOKIE') )
     
    364376/**
    365377 * It is possible to define this in wp-config.php
    366  * @since 2.6
     378 * @since 2.6.0
    367379 */
    368380if ( !defined('SECURE_AUTH_COOKIE') )
     
    371383/**
    372384 * It is possible to define this in wp-config.php
    373  * @since 2.6
     385 * @since 2.6.0
    374386 */
    375387if ( !defined('LOGGED_IN_COOKIE') )
     
    399411/**
    400412 * It is possible to define this in wp-config.php
    401  * @since 2.6
     413 * @since 2.6.0
    402414 */
    403415if ( !defined('ADMIN_COOKIE_PATH') )
     
    406418/**
    407419 * It is possible to define this in wp-config.php
    408  * @since 2.6
     420 * @since 2.6.0
    409421 */
    410422if ( !defined('PLUGINS_COOKIE_PATH') )
     
    420432/**
    421433 * It is possible to define this in wp-config.php
    422  * @since 2.6
     434 * @since 2.6.0
    423435 */
    424436if ( !defined('FORCE_SSL_ADMIN') )
     
    428440/**
    429441 * It is possible to define this in wp-config.php
    430  * @since 2.6
     442 * @since 2.6.0
    431443 */
    432444if ( !defined('FORCE_SSL_LOGIN') )
     
    530542/**
    531543 * Web Path to the current active template directory
    532  * @since 1.5
     544 * @since 1.5.0
    533545 */
    534546define('TEMPLATEPATH', get_template_directory());
     
    536548/**
    537549 * Web Path to the current active template stylesheet directory
    538  * @since 2.1
     550 * @since 2.1.0
    539551 */
    540552define('STYLESHEETPATH', get_stylesheet_directory());
     
    569581
    570582/**
    571  * shutdown_action_hook() - Runs just before PHP shuts down execution.
     583 * Runs just before PHP shuts down execution.
    572584 *
    573585 * @access private
    574  * @since 1.2
     586 * @since 1.2.0
    575587 */
    576588function shutdown_action_hook() {
Note: See TracChangeset for help on using the changeset viewer.