Make WordPress Core


Ignore:
Timestamp:
01/12/2015 12:02:31 AM (10 years ago)
Author:
pento
Message:

In get_avatar(), revert the <img> tag attributes to using single quotes, instead of double quotes. This behaviour was changed in [31107], but caused problems for code that attempted to parse the <img> tag.

See #21195

File:
1 edited

Legend:

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

    r31120 r31152  
    21822182
    21832183    $avatar = sprintf(
    2184         '<img alt="%s" src="%s" class="%s" height="%d" width="%d" />',
     2184        "<img alt='%s' src='%s' class='%s' height='%d' width='%d' />",
    21852185        esc_attr( $args['alt'] ),
    21862186        esc_url( $url ),
Note: See TracChangeset for help on using the changeset viewer.