mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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
This commit is contained in:
parent
01bb8478ff
commit
add5f9bdf2
@ -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 );
|
||||
}
|
||||
|
||||
|
@ -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 );
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user