Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/11/2015 05:12:02 AM (11 years ago)
Author:
netweb
Message:

Topics: Fix bbp_get_topic_post_date() default GMT date format copy pasta introduced in r4647, includes unit tests.

Props tobyhawkins. Fixes #2697

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/topics/template.php

    r5802 r5811  
    815815        // 4 days, 4 hours ago
    816816        if ( ! empty( $humanize ) ) {
    817             $gmt_s  = ! empty( $gmt ) ? 'U' : 'G';
     817            $gmt_s  = ! empty( $gmt ) ? 'G' : 'U';
    818818            $date   = get_post_time( $gmt_s, $gmt, $topic_id );
    819819            $time   = false; // For filter below
Note: See TracChangeset for help on using the changeset viewer.