Update single-functions.php

This commit is contained in:
Aron Ambrosiani 2020-10-15 20:53:18 +02:00
parent d7309b1fbe
commit 78a1df6584
1 changed files with 1 additions and 2 deletions

View File

@ -96,7 +96,7 @@ endif;
/** /**
* Display date of post. * Display date of post.
*/ */
if ( function_exists('tainacan_meta_date_author') ) { if ( ! function_exists('tainacan_meta_date_author') ) {
function tainacan_meta_date_author( $echo = true ) { function tainacan_meta_date_author( $echo = true ) {
$time = '<time class="entry-date published" datetime="%1$s">%2$s</time>'; $time = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
@ -118,7 +118,6 @@ if ( function_exists('tainacan_meta_date_author') ) {
} }
} }
} }
endif;
// define the cancel_comment_reply_link callback // define the cancel_comment_reply_link callback
function tainacan_filter_cancel_comment_reply_link( $formatted_link, $link, $text ) { function tainacan_filter_cancel_comment_reply_link( $formatted_link, $link, $text ) {