Make WordPress Core

Ticket #44927: 44927.patch

File 44927.patch, 584 bytes (added by JPry, 7 years ago)
  • src/wp-includes/link-template.php

    diff --git src/wp-includes/link-template.php src/wp-includes/link-template.php
    index a56c9635ee..cda3444af8 100644
    function get_avatar_data( $id_or_email, $args = null ) { 
    40524052         */
    40534053        $args = apply_filters( 'pre_get_avatar_data', $args, $id_or_email );
    40544054
    4055         if ( isset( $args['url'] ) && ! is_null( $args['url'] ) ) {
     4055        if ( isset( $args['url'] ) ) {
    40564056                /** This filter is documented in wp-includes/link-template.php */
    40574057                return apply_filters( 'get_avatar_data', $args, $id_or_email );
    40584058        }