WordPress.org

Make WordPress Core

Ticket #39848: 39848.2.diff

File 39848.2.diff, 529 bytes (added by donmhico, 6 months ago)

Refreshed the patch.

  • src/wp-includes/post-template.php

    diff --git src/wp-includes/post-template.php src/wp-includes/post-template.php
    index e4e945dad5..ca2099308d 100644
    function the_title( $before = '', $after = '', $echo = true ) { 
    4848
    4949        $title = $before . $title . $after;
    5050
     51        /**
     52         * Filters the post title after 'the_title' filter.
     53         *
     54         * @param string $title The post title.
     55         */
     56        $title = apply_filters( 'the_title_wrap', $title );
     57
    5158        if ( $echo ) {
    5259                echo $title;
    5360        } else {