Making WordPress.org


Ignore:
Timestamp:
01/23/2018 11:36:08 PM (6 years ago)
Author:
obenland
Message:

Pub: Open-source remaining pub plugins.

See [5346].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-time-shortcode.php

    r5347 r6421  
    77 * Author URI:  https://wordpress.org/
    88 * License:     GPLv2 or later
     9 *
     10 * @package WordPressdotorg\TimeShortcode
    911 */
    1012
     
    5052    // Try to parse the time, relative to the post time. Or current time, if an attr is set.
    5153    $timestamp = ! isset( $attr[0] ) ? get_the_date( 'U' ) : time();
    52     $time = strtotime( $gmtcontent, $timestamp );
     54    $time      = strtotime( $gmtcontent, $timestamp );
    5355
    5456    // If that didn't work, give up.
Note: See TracChangeset for help on using the changeset viewer.