Make WordPress Core

Changeset 19973


Ignore:
Timestamp:
02/21/2012 07:55:18 PM (13 years ago)
Author:
duck_
Message:

Remove obsolete mysql2date documentation. Props Viper007Bond. Fixes #20056.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r19935 r19973  
    1111 * Converts MySQL DATETIME field to user specified date format.
    1212 *
    13  * If $dateformatstring has 'G' value, then gmmktime() function will be used to
    14  * make the time. If $dateformatstring is set to 'U', then mktime() function
    15  * will be used to make the time.
    16  *
    17  * The $translate will only be used, if it is set to true and it is by default
    18  * and if the $wp_locale object has the month and weekday set.
     13 * The $translate parameter will only be used, if it is set to true and it is by
     14 * default and if the $wp_locale object has the month and weekday set.
    1915 *
    2016 * @since 0.71
    2117 *
    22  * @param string $dateformatstring Either 'G', 'U', or php date format.
     18 * @param string $dateformatstring Either 'G', 'U', or PHP date format.
    2319 * @param string $mysqlstring Time from mysql DATETIME field.
    2420 * @param bool $translate Optional. Default is true. Will switch format to locale.
Note: See TracChangeset for help on using the changeset viewer.