Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Forgot to select these lines while committing(my bad 😐 )
  • Loading branch information
MARQAS committed Aug 18, 2017
1 parent 2d41198 commit c9b8f9c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions templates/features.php
Expand Up @@ -3308,9 +3308,6 @@ function ampforwp_thumbnail_alt(){
$thumb_id = '';
$thumb_alt = '';
$thumb_id = get_post_thumbnail_id();
$thumb_alt = esc_attr(get_post_meta( $thumb_id, '_wp_attachment_image_alt', true));
if($thumb_alt){
echo "alt = '$thumb_alt'";
$thumb_alt = get_post_meta( $thumb_id, '_wp_attachment_image_alt', true) ;
if($thumb_alt){
echo 'alt = "'. esc_attr($thumb_alt). '"';
Expand Down

0 comments on commit c9b8f9c

Please sign in to comment.