Skip to content

Commit

Permalink
Merge branch 'release/v1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymcp committed Apr 11, 2024
2 parents 3eb446f + 5d1edb1 commit f6b5db2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ function amnesty_render_list_item( $data ) {
$post_date = isset( $data['date'] ) ? $data['date'] : '';
$show_author = isset( $data['showAuthor'] ) ? $data['showAuthor'] : '';
$show_post_date = isset( $data['showPostDate'] ) ? $data['showPostDate'] : '';
$post_updated = get_post_meta( $data['id'], 'amnesty_updated', true );
$post_updated = isset( $data['id'] ) ? get_post_meta( $data['id'], 'amnesty_updated', true ) : '';

if ( $show_post_date && $post_updated ) {
$post_updated = wp_date( get_option( 'date_format' ), strtotime( $post_updated ), new DateTimeZone( 'UTC' ) );
Expand Down

0 comments on commit f6b5db2

Please sign in to comment.