Changeset 36324
- Timestamp:
- 01/15/2016 07:47:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r36322 r36324 1927 1927 * perform a separate comment query and allow Walker_Comment to paginate. 1928 1928 */ 1929 if ( is_singular() && ( $r['page'] || $r['per_page'] )) {1929 if ( $r['page'] || $r['per_page'] ) { 1930 1930 $current_cpage = get_query_var( 'cpage' ); 1931 1931 if ( ! $current_cpage ) { … … 1935 1935 $current_per_page = get_query_var( 'comments_per_page' ); 1936 1936 if ( $r['page'] != $current_cpage || $r['per_page'] != $current_per_page ) { 1937 1937 1938 $comments = get_comments( array( 1938 'post_id' => get_ queried_object_id(),1939 'post_id' => get_the_ID(), 1939 1940 'orderby' => 'comment_date_gmt', 1940 1941 'order' => 'ASC',
Note: See TracChangeset
for help on using the changeset viewer.