Browse files

fixed #8

'No information is provided by the author' will now not display when
there is information about the author
  • Loading branch information...
1 parent 53ba160 commit d692aa4bd874a0aae0803883f22c49671509a919 @zyml committed Aug 24, 2012
Showing with 6 additions and 6 deletions.
  1. +1 −1 author.php
  2. +1 −1 content-audio.php
  3. +1 −1 content-image.php
  4. +1 −1 content-video.php
  5. +1 −1 content.php
  6. +1 −1 image.php
View
2 author.php
@@ -16,7 +16,7 @@
</div>
<div class="author-meta">
<?php
- if ( the_author_meta( 'description' ) == '' )
+ if ( get_the_author_meta( 'description' ) == '' )
_e( 'No information is provided by the author.', 'ar2' );
else
the_author_meta( 'description' );
View
2 content-audio.php
@@ -81,7 +81,7 @@
<div class="author-meta">
<h4><?php printf( __( 'About %s', 'ar2' ), get_the_author_meta( 'display_name' ) ) ?></h4>
<?php
- if ( the_author_meta( 'description' ) == '' )
+ if ( get_the_author_meta( 'description' ) == '' )
_e( 'No information is provided by the author.', 'ar2' );
else
the_author_meta( 'description' );
View
2 content-image.php
@@ -81,7 +81,7 @@
<div class="author-meta">
<h4><?php printf( __( 'About %s', 'ar2' ), get_the_author_meta( 'display_name' ) ) ?></h4>
<?php
- if ( the_author_meta( 'description' ) == '' )
+ if ( get_the_author_meta( 'description' ) == '' )
_e( 'No information is provided by the author.', 'ar2' );
else
the_author_meta( 'description' );
View
2 content-video.php
@@ -81,7 +81,7 @@
<div class="author-meta">
<h4><?php printf( __( 'About %s', 'ar2' ), get_the_author_meta( 'display_name' ) ) ?></h4>
<?php
- if ( the_author_meta( 'description' ) == '' )
+ if ( get_the_author_meta( 'description' ) == '' )
_e( 'No information is provided by the author.', 'ar2' );
else
the_author_meta( 'description' );
View
2 content.php
@@ -88,7 +88,7 @@
<div class="author-meta">
<h4><?php printf( __( 'About %s', 'ar2' ), get_the_author_meta( 'display_name' ) ) ?></h4>
<?php
- if ( the_author_meta( 'description' ) == '' )
+ if ( get_the_author_meta( 'description' ) == '' )
_e( 'No information is provided by the author.', 'ar2' );
else
the_author_meta( 'description' );
View
2 image.php
@@ -79,7 +79,7 @@
<div class="author-meta">
<h4><?php printf( __( 'About %s', 'ar2' ), get_the_author_meta( 'display_name' ) ) ?></h4>
<?php
- if ( the_author_meta( 'description' ) == '' )
+ if ( get_the_author_meta( 'description' ) == '' )
_e( 'No information is provided by the author.', 'ar2' );
else
the_author_meta( 'description' );

0 comments on commit d692aa4

Please sign in to comment.