Ticket #19674: 19674.diff
File 19674.diff, 803 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/general-template.php
914 914 * @param string $sep Document title separator. Default '-'. 915 915 */ 916 916 $sep = apply_filters( 'document_title_separator', '-' ); 917 if ( empty( $sep ) ) { 918 $join = ' '; 919 } else { 920 $join = " $sep "; 921 } 917 922 918 923 /** 919 924 * Filter the parts of the document title. … … 931 936 */ 932 937 $title = apply_filters( 'document_title_parts', $title ); 933 938 934 $title = implode( " $sep ", array_filter( $title ) );939 $title = implode( $join, array_filter( $title ) ); 935 940 $title = wptexturize( $title ); 936 941 $title = convert_chars( $title ); 937 942 $title = esc_html( $title );