Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter halillea

    (@halillea)

    here is the start of the file (this is the original french file downloaded from wordpress site

    i reuploaded and no change so far

    —————-stsrt of the functions.php head of the file
    <?php
    /**
    * Main WordPress API
    *
    * @package WordPress
    */

    /**
    * 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.
    *
    * @since 0.71
    *
    * @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 formated by $dateformatstring or locale (if available).
    */
    function mysql2date( $dateformatstring, $mysqlstring, $translate = true ) {
    $m = $mysqlstring;
    if ( empty( $m ) )
    return false;

    —————-end of the head of the file

Viewing 1 replies (of 1 total)