WordPress.org

Make WordPress Core

Changeset 31480


Ignore:
Timestamp:
02/19/2015 02:58:40 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Remove src from duplicate hook comments for get_avatar and get_avatar_data.

see #21195.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r31459 r31480  
    34833483
    34843484    if ( isset( $args['url'] ) && ! is_null( $args['url'] ) ) {
    3485         /** This filter is documented in src/wp-includes/link-template.php */
     3485        /** This filter is documented in wp-includes/link-template.php */
    34863486        return apply_filters( 'get_avatar_data', $args, $id_or_email );
    34873487    }
     
    35203520        if ( ! empty( $id_or_email->comment_type ) && ! in_array( $id_or_email->comment_type, (array) $allowed_comment_types ) ) {
    35213521            $args['url'] = false;
    3522             /** This filter is documented in src/wp-includes/link-template.php */
     3522            /** This filter is documented in wp-includes/link-template.php */
    35233523            return apply_filters( 'get_avatar_data', $args, $id_or_email );
    35243524        }
  • trunk/src/wp-includes/pluggable.php

    r31479 r31480  
    21632163    $avatar = apply_filters( 'pre_get_avatar', null, $id_or_email, $args );
    21642164    if ( ! is_null( $avatar ) ) {
    2165         /** This filter is documented in src/wp-includes/pluggable.php */
     2165        /** This filter is documented in wp-includes/pluggable.php */
    21662166        return apply_filters( 'get_avatar', $avatar, $id_or_email, $args['size'], $args['default'], $args['alt'], $args );
    21672167    }
Note: See TracChangeset for help on using the changeset viewer.