Spell out duplicate hook locations.
props DrewAPicture. fixes #25658. Built from https://develop.svn.wordpress.org/trunk@25868 git-svn-id: http://core.svn.wordpress.org/trunk@25780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7f07102e77
commit
224831da13
|
@ -48,7 +48,13 @@ get_header(); ?>
|
|||
<div class="author-info">
|
||||
<div class="author-avatar">
|
||||
<?php
|
||||
//duplicate_hook
|
||||
/**
|
||||
* Filter the author bio avatar size.
|
||||
*
|
||||
* @since Twenty Twelve 1.0
|
||||
*
|
||||
* @param int $size The height and width of the avatar in pixels.
|
||||
*/
|
||||
$author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
|
||||
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
|
||||
?>
|
||||
|
|
|
@ -50,13 +50,7 @@
|
|||
<div class="author-info">
|
||||
<div class="author-avatar">
|
||||
<?php
|
||||
/**
|
||||
* Filter the author bio avatar size.
|
||||
*
|
||||
* @since Twenty Twelve 1.0
|
||||
*
|
||||
* @param int $size The height and width of the avatar in pixels.
|
||||
*/
|
||||
/** This filter is documented in author.php */
|
||||
$author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
|
||||
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue