Skip to content

Commit 3f0ee44

Browse files
committed
Docs: Correct $translate param type for WP_Theme::markup_header().
Follow-up to [61574], [20029]. Props marian1, mukesh27. See #20103. Fixes #64585. git-svn-id: https://develop.svn.wordpress.org/trunk@61575 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 03d7a23 commit 3f0ee44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/class-wp-theme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ private function sanitize_header( $header, $value ) {
10021002
*
10031003
* @param string $header Theme header. Name, Description, Author, Version, ThemeURI, AuthorURI, Status, Tags.
10041004
* @param string|array $value Value to mark up. An array for Tags header, string otherwise.
1005-
* @param string $translate Whether the header has been translated.
1005+
* @param bool $translate Whether the header has been translated.
10061006
* @return string Value, marked up.
10071007
*/
10081008
private function markup_header( $header, $value, $translate ) {

0 commit comments

Comments
 (0)