Transferred the site from the old version of Wordpress, the construction of the following type stopped working:
<?php ( get_the_term_list(get_the_ID, 'taxonomy_authors','',', ') )? printf( __( '<p class="hentry-tags">%1$s</p>', 'unspoken' ), get_the_term_list(get_the_ID, 'taxonomy_authors','',', ') ) : ''; ?> Previously, a list of tags from custom taxonomy. Now does not display anything. At the same time design:
<?php echo get_the_term_list( get_the_ID(), 'taxonomy_authors', "" ) ?> works.
What can be wrong?
get_the_term_list(get_the_ID,...(i.e., theget_the_IDconstant instead of theget_the_ID()function)?