- Timestamp:
- 10/30/2018 02:13:07 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/inc/template-tags.php
r43808 r43842 5 5 * @package WordPress 6 6 * @subpackage Twenty_Nineteen 7 * @since 1.0.0 7 8 */ 8 9 … … 26 27 27 28 printf( 28 '<span class="posted-on">%1$s<a href="%2$s" rel="bookmark"> ' . $time_string . '</a></span>',29 '<span class="posted-on">%1$s<a href="%2$s" rel="bookmark">%3$s</a></span>', 29 30 twentynineteen_get_icon_svg( 'watch', 16 ), 30 31 esc_url( get_permalink() ), … … 75 76 // Posted by 76 77 twentynineteen_posted_by(); 78 79 // Posted on 80 twentynineteen_posted_on(); 77 81 78 82 // Hide category and tag text for pages. … … 186 190 */ 187 191 function twentynineteen_get_user_avatar_markup( $id_or_email = null ) { 192 188 193 if ( ! isset( $id_or_email ) ) { 189 194 $id_or_email = get_current_user_id(); 190 195 } 191 192 $classes = array( 'comment-author', 'vcard' );193 196 194 197 return sprintf( '<div class="comment-user-avatar comment-author vcard">%s</div>', get_avatar( $id_or_email, twentynineteen_get_avatar_size() ) ); … … 219 222 function twentynineteen_comment_form( $order ) { 220 223 if ( true === $order || strtolower( $order ) === strtolower( get_option( 'comment_order', 'asc' ) ) ) { 224 221 225 comment_form( 222 226 array( 223 'title_reply_before' => twentynineteen_get_user_avatar_markup(),224 227 'logged_in_as' => null, 225 228 'title_reply' => null,
Note: See TracChangeset
for help on using the changeset viewer.