From add5f9bdf272a30bd1f48176dff185bfc68ab0d4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 19 Feb 2015 14:59:26 +0000 Subject: [PATCH] Remove `src` from duplicate hook comments for `get_avatar` and `get_avatar_data`. see #21195. Built from https://develop.svn.wordpress.org/trunk@31480 git-svn-id: http://core.svn.wordpress.org/trunk@31461 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 4 ++-- wp-includes/pluggable.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 9c0ffec31b..f9d46b7105 100644 --- a/wp-includes/link-template.php +++ b/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/wp-includes/pluggable.php b/wp-includes/pluggable.php index 8b97cefc70..0fe8ab820d 100644 --- a/wp-includes/pluggable.php +++ b/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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index f7065427ac..09ca7b55d3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31479'; +$wp_version = '4.2-alpha-31480'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.