Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#46838 closed enhancement (invalid)

Better html and sprintf

Reported by: ounziw's profile ounziw Owned by:
Milestone: Priority: normal
Severity: minor Version: 5.2
Component: Themes Keywords:
Focuses: Cc:


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() ) ) );

Change History (3)

#1 @ounziw
4 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#2 @ounziw
4 years ago

Sorry for invalid ticket.

#3 @desrosj
4 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.