Make WordPress Core

Ticket #61352: general-template.diff

File general-template.diff, 600 bytes (added by nexbridge, 21 months ago)

Patch

  • general-template.php

     
    14371437         *
    14381438         * @param string[] $title_array Array of parts of the page title.
    14391439         */
    1440         $title_array = apply_filters( 'wp_title_parts', explode( $t_sep, $title ) );
     1440        $title_array = apply_filters( 'wp_title_parts', explode( $t_sep, $title ?? '') );
    14411441
    14421442        // Determines position of the separator and direction of the breadcrumb.
    14431443        if ( 'right' === $seplocation ) { // Separator on right, so reverse the order.