Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#46838 closed enhancement (invalid)

Better html and sprintf

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

Description

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
8 years ago

  • Resolution → invalid
  • Status new → closed

#2 @ounziw
8 years ago

Sorry for invalid ticket.

#3 @desrosj
8 years ago

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