| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?> |
| 12 | 12 | <title> |
| 13 | 13 | <?php |
| 14 | 14 | // PHPCS - already escaped by WordPress. |
| 15 | - echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 15 | + echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Core escapes it: esc_html is a default filter on document_title, as in _wp_render_title_tag(). | |
| 16 | 16 | ?> |
| 17 | 17 | </title> |
| 18 | 18 | <?php endif; ?> |
| 19 | 19 | <?php wp_head(); ?> |