Skip to content

Commit

Permalink
Correct get_term_meta call for Twitter media
Browse files Browse the repository at this point in the history
Fixes #317
  • Loading branch information
mgsisk committed Jun 11, 2018
1 parent 17cccc9 commit 7562f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/twitter/common.php
Expand Up @@ -64,7 +64,7 @@ function hook_add_card_data_basic( array $data, string $collection ) : array {
$data['description'][] = wp_strip_all_tags( get_queried_object()->description, true );

if ( $media ) {
$media[] = get_term_meta( get_queried_object()->term_id, 'webcomic_media' );
$media[] = get_term_meta( get_queried_object()->term_id, 'webcomic_media', true );
}
}

Expand Down

0 comments on commit 7562f49

Please sign in to comment.