Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
11 years ago
Diff never expires
Clear
Export
Share
Explain
0 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
71 lines
Copy
3 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
71 lines
Copy
<?php
<?php
/**
/**
* COMMENTS
* COMMENTS
*
*
* The template for displaying Comments.
* The template for displaying Comments.
*
*
* @package PageLines Framework
* @package PageLines Framework
* @since 1.0
* @since 1.0
*
*
* @link http://www.pagelines.com/
* @link http://www.pagelines.com/
* @link http://www.pagelines.com/tour
* @link http://www.pagelines.com/tour
*
*
* @author PageLines http://www.pagelines.com/
* @author PageLines http://www.pagelines.com/
* @copyright Copyright (c) 2012, PageLines hello@pagelines.com
* @copyright Copyright (c) 2012, PageLines hello@pagelines.com
*
*
* @internal last revised February 23, 2012
* @internal last revised February 23, 2012
* @version 2.1.1
* @version 2.1.1
*/
*/
Copy
Copied
Copy
Copied
if(!have_comments(
) && !comments_open())
//
if(!have_comments(
)
) && !comments_open())
return;
//
return;
?>
?>
<div id="comments" class="wp-comments">
<div id="comments" class="wp-comments">
<div class="wp-comments-pad">
<div class="wp-comments-pad">
<?php
<?php
/* Stop the rest of comments.php from being processed,
/* Stop the rest of comments.php from being processed,
* but don't kill the script entirely -- we still have
* but don't kill the script entirely -- we still have
* to fully load the template.
* to fully load the template.
*/
*/
if ( post_password_required() ){
if ( post_password_required() ){
printf('<p class="nopassword">%s</p></div></div>', __( 'This post is password protected. Enter the password to view any comments.', 'pagelines' ) );
printf('<p class="nopassword">%s</p></div></div>', __( 'This post is password protected. Enter the password to view any comments.', 'pagelines' ) );
return;
return;
}
}
if ( have_comments() ) : ?>
if ( have_comments() ) : ?>
<h3 id="comments-title"><?php
<h3 id="comments-title"><?php
printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'pagelines' ),
printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'pagelines' ),
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
?></h3>
?></h3>
<ol class="commentlist">
<ol class="commentlist">
<?php wp_list_comments(array('avatar_size' => 65)); ?>
<?php wp_list_comments(array('avatar_size' => 65)); ?>
</ol>
</ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<div class="navigation fix">
<div class="navigation fix">
<div class="alignleft"><?php previous_comments_link( __( "<span class='meta-nav'>←</span> Older Comments", 'pagelines' ) ); ?></div>
<div class="alignleft"><?php previous_comments_link( __( "<span class='meta-nav'>←</span> Older Comments", 'pagelines' ) ); ?></div>
<div class="alignright"><?php next_comments_link( __( "Newer Comments <span class='meta-nav'>→</span>", 'pagelines' ) ); ?></div>
<div class="alignright"><?php next_comments_link( __( "Newer Comments <span class='meta-nav'>→</span>", 'pagelines' ) ); ?></div>
</div> <!-- .navigation -->
</div> <!-- .navigation -->
<?php endif; // check for comment navigation ?>
<?php endif; // check for comment navigation ?>
<?php else : // or, if we don't have comments:
<?php else : // or, if we don't have comments:
/* If there are no comments and comments are closed,
/* If there are no comments and comments are closed,
* let's leave a little note, shall we?
* let's leave a little note, shall we?
*/
*/
if ( ! comments_open() ) :
if ( ! comments_open() ) :
?>
?>
<p class="nocomments"><?php _e('Comments are closed.', 'pagelines');?></p>
<p class="nocomments"><?php _e('Comments are closed.', 'pagelines');?></p>
<?php endif; // end ! comments_open() ?>
<?php endif; // end ! comments_open() ?>
<?php
<?php
endif; // end have_comments()
endif; // end have_comments()
comment_form(); ?>
comment_form(); ?>
</div>
</div>
</div>
</div>
Saved diffs
Original text
Open file
<?php /** * COMMENTS * * The template for displaying Comments. * * @package PageLines Framework * @since 1.0 * * @link http://www.pagelines.com/ * @link http://www.pagelines.com/tour * * @author PageLines http://www.pagelines.com/ * @copyright Copyright (c) 2012, PageLines hello@pagelines.com * * @internal last revised February 23, 2012 * @version 2.1.1 */ if(!have_comments() && !comments_open()) return; ?> <div id="comments" class="wp-comments"> <div class="wp-comments-pad"> <?php /* Stop the rest of comments.php from being processed, * but don't kill the script entirely -- we still have * to fully load the template. */ if ( post_password_required() ){ printf('<p class="nopassword">%s</p></div></div>', __( 'This post is password protected. Enter the password to view any comments.', 'pagelines' ) ); return; } if ( have_comments() ) : ?> <h3 id="comments-title"><?php printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'pagelines' ), number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' ); ?></h3> <ol class="commentlist"> <?php wp_list_comments(array('avatar_size' => 65)); ?> </ol> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> <div class="navigation fix"> <div class="alignleft"><?php previous_comments_link( __( "<span class='meta-nav'>←</span> Older Comments", 'pagelines' ) ); ?></div> <div class="alignright"><?php next_comments_link( __( "Newer Comments <span class='meta-nav'>→</span>", 'pagelines' ) ); ?></div> </div> <!-- .navigation --> <?php endif; // check for comment navigation ?> <?php else : // or, if we don't have comments: /* If there are no comments and comments are closed, * let's leave a little note, shall we? */ if ( ! comments_open() ) : ?> <p class="nocomments"><?php _e('Comments are closed.', 'pagelines');?></p> <?php endif; // end ! comments_open() ?> <?php endif; // end have_comments() comment_form(); ?> </div> </div>
Changed text
Open file
<?php /** * COMMENTS * * The template for displaying Comments. * * @package PageLines Framework * @since 1.0 * * @link http://www.pagelines.com/ * @link http://www.pagelines.com/tour * * @author PageLines http://www.pagelines.com/ * @copyright Copyright (c) 2012, PageLines hello@pagelines.com * * @internal last revised February 23, 2012 * @version 2.1.1 */ //if(!have_comments()) && !comments_open()) // return; ?> <div id="comments" class="wp-comments"> <div class="wp-comments-pad"> <?php /* Stop the rest of comments.php from being processed, * but don't kill the script entirely -- we still have * to fully load the template. */ if ( post_password_required() ){ printf('<p class="nopassword">%s</p></div></div>', __( 'This post is password protected. Enter the password to view any comments.', 'pagelines' ) ); return; } if ( have_comments() ) : ?> <h3 id="comments-title"><?php printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'pagelines' ), number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' ); ?></h3> <ol class="commentlist"> <?php wp_list_comments(array('avatar_size' => 65)); ?> </ol> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> <div class="navigation fix"> <div class="alignleft"><?php previous_comments_link( __( "<span class='meta-nav'>←</span> Older Comments", 'pagelines' ) ); ?></div> <div class="alignright"><?php next_comments_link( __( "Newer Comments <span class='meta-nav'>→</span>", 'pagelines' ) ); ?></div> </div> <!-- .navigation --> <?php endif; // check for comment navigation ?> <?php else : // or, if we don't have comments: /* If there are no comments and comments are closed, * let's leave a little note, shall we? */ if ( ! comments_open() ) : ?> <p class="nocomments"><?php _e('Comments are closed.', 'pagelines');?></p> <?php endif; // end ! comments_open() ?> <?php endif; // end have_comments() comment_form(); ?> </div> </div>
Find difference