Changeset 806931
- Timestamp:
- 11/19/2013 05:26:24 PM (12 years ago)
- File:
-
- 1 edited
-
jetpack/trunk/modules/gplus-authorship.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/modules/gplus-authorship.php
r795333 r806931 14 14 15 15 class GPlus_Authorship { 16 17 private $byline_displayed = false;18 16 19 17 function __construct() { … … 151 149 if ( get_post_type() != 'post' ) 152 150 return $text; 153 if ( true === $this->byline_displayed )154 return $text;155 151 $author = $this->information( $post->post_author ); 156 152 if ( empty( $author ) ) … … 180 176 $output .= '</div>'; 181 177 182 $this->byline_displayed = true;183 184 178 if ( $echo ) 185 179 echo $text . $output;
Note: See TracChangeset
for help on using the changeset viewer.