Making WordPress.org

Ticket #7761: 7761-submit-date.2.diff

File 7761-submit-date.2.diff, 722 bytes (added by tellyworth, 7 months ago)

Edited patch

  • admin/metabox/class-controls.php

     
    193193                        </tr>
    194194
    195195                        <tr>
     196                                <td><?php _e( 'Submitted:', 'wporg-plugins' ); ?></td>
     197                                <td><strong><?php printf( '<span title="%s">%s ago</span> (%s)', esc_attr( $post->_submitted_date ), human_time_diff( $post->_submitted_date ), esc_html( gmdate( 'Y-m-d', $post->_submitted_date ?? 0 ) ) ); ?></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>
    198203                        </tr>