Plugin Directory

Changeset 806931


Ignore:
Timestamp:
11/19/2013 05:26:24 PM (12 years ago)
Author:
migueluy
Message:

Jetpack: G+ Authorship: Restore the Google+ link at the bottom of the posts. props @jeherve.

File:
1 edited

Legend:

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

    r795333 r806931  
    1414
    1515class GPlus_Authorship {
    16 
    17     private $byline_displayed = false;
    1816
    1917    function __construct() {
     
    151149        if  ( get_post_type() != 'post' )
    152150            return $text;
    153         if ( true === $this->byline_displayed )
    154             return $text;
    155151        $author = $this->information( $post->post_author );
    156152        if ( empty( $author ) )
     
    180176        $output .= '</div>';
    181177
    182         $this->byline_displayed = true;
    183 
    184178        if ( $echo )
    185179            echo $text . $output;
Note: See TracChangeset for help on using the changeset viewer.