From 45d5c5ddbea08e22890591f55b2caefca7bc560c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 19 Feb 2015 14:58:40 +0000 Subject: [PATCH] Remove `src` from duplicate hook comments for `get_avatar` and `get_avatar_data`. see #21195. git-svn-id: https://develop.svn.wordpress.org/trunk@31480 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 4 ++-- src/wp-includes/pluggable.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 9c0ffec31b..f9d46b7105 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -3482,7 +3482,7 @@ function get_avatar_data( $id_or_email, $args = null ) { $args = apply_filters( 'pre_get_avatar_data', $args, $id_or_email ); if ( isset( $args['url'] ) && ! is_null( $args['url'] ) ) { - /** This filter is documented in src/wp-includes/link-template.php */ + /** This filter is documented in wp-includes/link-template.php */ return apply_filters( 'get_avatar_data', $args, $id_or_email ); } @@ -3519,7 +3519,7 @@ function get_avatar_data( $id_or_email, $args = null ) { $allowed_comment_types = apply_filters( 'get_avatar_comment_types', array( 'comment' ) ); if ( ! empty( $id_or_email->comment_type ) && ! in_array( $id_or_email->comment_type, (array) $allowed_comment_types ) ) { $args['url'] = false; - /** This filter is documented in src/wp-includes/link-template.php */ + /** This filter is documented in wp-includes/link-template.php */ return apply_filters( 'get_avatar_data', $args, $id_or_email ); } diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 8b97cefc70..0fe8ab820d 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -2162,7 +2162,7 @@ function get_avatar( $id_or_email, $size = 96, $default = '', $alt = '', $args = */ $avatar = apply_filters( 'pre_get_avatar', null, $id_or_email, $args ); if ( ! is_null( $avatar ) ) { - /** This filter is documented in src/wp-includes/pluggable.php */ + /** This filter is documented in wp-includes/pluggable.php */ return apply_filters( 'get_avatar', $avatar, $id_or_email, $args['size'], $args['default'], $args['alt'], $args ); }