Making WordPress.org

Changeset 14244


Ignore:
Timestamp:
12/06/2024 02:27:47 AM (4 months ago)
Author:
dd32
Message:

Plugin Directory: Reviewers: Include the Submitted date in the controls widget.

Props rabmalin, tellyworth, dd32.
Fixes #7761.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-controls.php

    r13507 r14244  
    194194
    195195            <tr>
     196                <td><?php _e( 'Submitted:', 'wporg-plugins' ); ?></td>
     197                <td><strong><?php printf( '<span title="%s">%s ago</span>', esc_attr( gmdate( 'Y-m-d H:i:s', $post->_submitted_date ?? 0 ) ), human_time_diff( $post->_submitted_date ) ); ?></strong></td>
     198            </tr>
     199
     200            <tr>
    196201                <td><?php _e( 'Installs:', 'wporg-plugins' ); ?></td>
    197202                <td><strong><?php echo Template::active_installs( false, $post ); ?></strong></td>
Note: See TracChangeset for help on using the changeset viewer.