From 3b607e3675e6b599380578c4ddfe5c9be283a5a0 Mon Sep 17 00:00:00 2001 From: Jon Cave Date: Tue, 21 Feb 2012 19:55:18 +0000 Subject: [PATCH] Remove obsolete mysql2date documentation. Props Viper007Bond. Fixes #20056. git-svn-id: https://develop.svn.wordpress.org/trunk@19973 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index a145ad666e..54093dd2f1 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -10,16 +10,12 @@ require( ABSPATH . WPINC . '/option.php' ); /** * Converts MySQL DATETIME field to user specified date format. * - * If $dateformatstring has 'G' value, then gmmktime() function will be used to - * make the time. If $dateformatstring is set to 'U', then mktime() function - * will be used to make the time. - * - * The $translate will only be used, if it is set to true and it is by default - * and if the $wp_locale object has the month and weekday set. + * The $translate parameter will only be used, if it is set to true and it is by + * default and if the $wp_locale object has the month and weekday set. * * @since 0.71 * - * @param string $dateformatstring Either 'G', 'U', or php date format. + * @param string $dateformatstring Either 'G', 'U', or PHP date format. * @param string $mysqlstring Time from mysql DATETIME field. * @param bool $translate Optional. Default is true. Will switch format to locale. * @return string Date formatted by $dateformatstring or locale (if available).