Making WordPress.org

Changeset 6408


Ignore:
Timestamp:
01/20/2018 05:14:31 AM (7 years ago)
Author:
obenland
Message:

Plugins: Fix that typo before it gets any worse.

See [6406].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php

    r6406 r6408  
    4444            <li>
    4545                <?php
    46                 $modefied_time = get_post_modified_time();
     46                $modified_time = get_post_modified_time();
    4747
    4848                // Fallback for approved plugins that are not published yet.
    49                 if ( $modefied_time < 0 ) {
    50                     $modefied_time = get_post_time();
     49                if ( $modified_time < 0 ) {
     50                    $modified_time = get_post_time();
    5151                }
    5252
     
    5454                    __( 'Last updated: %s', 'wporg-plugins' ),
    5555                    /* Translators: Plugin modified time. */
    56                     '<strong>' . sprintf( __( '%s ago', 'wporg-plugins' ), '<span>' . human_time_diff( $modefied_time ) . '</span>' ) . '</strong>'
     56                    '<strong>' . sprintf( __( '%s ago', 'wporg-plugins' ), '<span>' . human_time_diff( $modified_time ) . '</span>' ) . '</strong>'
    5757                );
    5858                ?>
Note: See TracChangeset for help on using the changeset viewer.