WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#46838 closed enhancement (invalid)

Better html and sprintf

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

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
4 months ago

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

#2 @ounziw
4 months ago

Sorry for invalid ticket.

#3 @desrosj
4 months ago

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