Changeset 36360
- Timestamp:
- 01/20/2016 07:58:23 AM (9 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-includes/comment-template.php
r36356 r36360 1953 1953 * perform a separate comment query and allow Walker_Comment to paginate. 1954 1954 */ 1955 if ( is_singular() && ( $r['page'] || $r['per_page'] )) {1955 if ( $r['page'] || $r['per_page'] ) { 1956 1956 $current_cpage = get_query_var( 'cpage' ); 1957 1957 if ( ! $current_cpage ) { … … 1961 1961 $current_per_page = get_query_var( 'comments_per_page' ); 1962 1962 if ( $r['page'] != $current_cpage || $r['per_page'] != $current_per_page ) { 1963 1963 1964 $comments = get_comments( array( 1964 'post_id' => get_ queried_object_id(),1965 'post_id' => get_the_ID(), 1965 1966 'orderby' => 'comment_date_gmt', 1966 1967 'order' => 'ASC',
Note: See TracChangeset
for help on using the changeset viewer.