Plugin Directory

Changeset 793761

Timestamp:
10/25/2013 06:33:40 PM (11 years ago)
Author:
tmoorewp
Message:

Add an alt tag to the G+ Authorship image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/gplus-authorship.php

    r769827 r793761  
    133133    function byline( $post ) {
    134134        $author = $this->information( $post->post_author );
    135         $image = '<img src="' . esc_url( $author['profile_image'] ) . '?sz=40" alt="" width="20" height="20" align="absmiddle" /> ';
     135        $image = '<img src="' . esc_url( $author['profile_image'] ) . '?sz=40" alt="" width="20" height="20" align="absmiddle" /> ';
    136136        $byline = sprintf( '<a href="%1$s">%2$s</a><a rel="author" href="%1$s" class="gplus-profile">%3$s</a>', esc_url( $author['url'] ), $image, esc_html( $author['name'] ) );
    137137        return apply_filters( 'gplus_authorship_byline', $byline, $post );
Note: See TracChangeset for help on using the changeset viewer.