Make WordPress Core


Ignore:
Timestamp:
09/11/2015 06:14:04 AM (11 years ago)
Author:
wonderboymusic
Message:

After [33961], pass $comment to get_comment_date() where possible to avoid extra cache/db lookups.

See #33638.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/comment.php

    r34039 r34041  
    196196                        esc_url( get_comment_link( $comment->comment_ID ) ),
    197197                        /* translators: comment date format. See http://php.net/date */
    198                         get_comment_date( __( 'Y/m/d' ) ),
    199                         get_comment_date( get_option( 'time_format' ) )
     198                        get_comment_date( __( 'Y/m/d' ), $comment ),
     199                        get_comment_date( get_option( 'time_format' ), $comment )
    200200                );
    201201        ?>
Note: See TracChangeset for help on using the changeset viewer.