Make WordPress Core

Changeset 34792


Ignore:
Timestamp:
10/03/2015 01:26:40 AM (9 years ago)
Author:
boonebgorges
Message:

Remove dead code added to get_comment_link() in [34735].

See #34073.

File:
1 edited

Legend:

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

    r34735 r34792  
    725725                $cpage = get_page_of_comment( $comment->comment_ID, $args );
    726726            }
    727         }
    728 
    729         // Drop the 'page' var if we're on the default page.
    730         $comment_post = get_post( $comment->comment_post_ID );
    731         if ( $args['per_page'] ) {
    732             $total_pages = ceil( $comment_post->comment_count / $args['per_page'] );
    733         } else {
    734             $total_pages = 1;
    735727        }
    736728
Note: See TracChangeset for help on using the changeset viewer.