Merge pull request #290 from BFTrick/rename-overload

Use 'override' instead of 'overload' to avoid confusion with overloading properties and methods in PHP.
This commit is contained in:
Konstantin Obenland 2013-08-21 07:30:20 -07:00
commit 76c68722cc
3 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ get_header(); ?>
<?php <?php
/* Include the Post-Format-specific template for the content. /* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file * If you want to override this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead. * called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/ */
get_template_part( 'content', get_post_format() ); get_template_part( 'content', get_post_format() );

View File

@ -43,7 +43,7 @@ if ( post_password_required() )
<?php <?php
/* Loop through and list the comments. Tell wp_list_comments() /* Loop through and list the comments. Tell wp_list_comments()
* to use _s_comment() to format the comments. * to use _s_comment() to format the comments.
* If you want to overload this in a child theme then you can * If you want to override this in a child theme then you can
* define _s_comment() and that will be used instead. * define _s_comment() and that will be used instead.
* See _s_comment() in inc/template-tags.php for more. * See _s_comment() in inc/template-tags.php for more.
*/ */

View File

@ -23,7 +23,7 @@ get_header(); ?>
<?php <?php
/* Include the Post-Format-specific template for the content. /* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file * If you want to override this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead. * called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/ */
get_template_part( 'content', get_post_format() ); get_template_part( 'content', get_post_format() );