Ticket #48122: ticket-48122.diff
File ticket-48122.diff, 821 bytes (added by , 5 years ago) |
---|
-
general-template.php
1022 1022 * 1023 1023 * @global int $page Page number of a single post. 1024 1024 * @global int $paged Page number of a list of posts. 1025 * 1025 * 1026 * @param string $sep 1026 1027 * @return string Tag with the document title. 1027 1028 */ 1028 function wp_get_document_title( ) {1029 function wp_get_document_title($sep = '-') { 1029 1030 1030 1031 /** 1031 1032 * Filters the document title before it is generated. … … 1116 1117 * 1117 1118 * @param string $sep Document title separator. Default '-'. 1118 1119 */ 1119 $sep = apply_filters( 'document_title_separator', '-');1120 $sep = apply_filters( 'document_title_separator', $sep ); 1120 1121 1121 1122 /** 1122 1123 * Filters the parts of the document title.