diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index a56c9635ee..cda3444af8 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -4052,7 +4052,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'] ) ) { + if ( isset( $args['url'] ) ) { /** 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/version.php b/wp-includes/version.php index a8071b79ff..4a156bb928 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-alpha-44350'; +$wp_version = '5.1-alpha-44351'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.