Changeset 38740 for trunk/src/wp-includes/comment.php
- Timestamp:
- 10/06/2016 05:41:51 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/comment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r38738 r38740 919 919 return get_page_of_comment( $comment->comment_parent, $args ); 920 920 921 if ( 'desc' === get_option( 'comment_order' ) ) { 922 $compare = 'after'; 923 } else { 924 $compare = 'before'; 925 } 926 921 927 $comment_args = array( 922 928 'type' => $args['type'], … … 929 935 array( 930 936 'column' => "$wpdb->comments.comment_date_gmt", 931 'before'=> $comment->comment_date_gmt,937 $compare => $comment->comment_date_gmt, 932 938 ) 933 939 ),
Note: See TracChangeset
for help on using the changeset viewer.