[wp-trac] [WordPress Trac] #46838: Better html and sprintf

WordPress Trac noreply at wordpress.org
Tue Apr 9 06:48:17 UTC 2019


#46838: Better html and sprintf
-------------------------+-----------------------------
 Reporter:  ounziw       |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  trunk
 Severity:  minor        |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 twentynineteen/template-parts/content/content.php line:23
                         the_title( sprintf( '<h2 class="entry-title"><a
 href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );


 I hope the code below will be a better html.

                         the_title( sprintf( '<h2 class="entry-title"><a
 href="%s" rel="bookmark"></a></h2>', esc_url( get_permalink() ) ) );

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46838>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list