From feb1c78687ef3409718f522c609c95073ae4ad85 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 15 Apr 2022 13:53:33 +0000 Subject: [PATCH] Docs: Fix a docblock typo in `get_the_modified_author`. Follow-up to [53187]. See #55420. git-svn-id: https://develop.svn.wordpress.org/trunk@53188 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/author-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/author-template.php b/src/wp-includes/author-template.php index a4f2a1815a..d54902cd2a 100644 --- a/src/wp-includes/author-template.php +++ b/src/wp-includes/author-template.php @@ -86,7 +86,7 @@ function the_author( $deprecated = '', $deprecated_echo = true ) { * * @since 2.8.0 * - * @return string|void The author's display name, empty string if unkown. + * @return string|void The author's display name, empty string if unknown. */ function get_the_modified_author() { $last_id = get_post_meta( get_post()->ID, '_edit_last', true ); @@ -99,7 +99,7 @@ function get_the_modified_author() { * * @since 2.8.0 * - * @param string $display_name The author's display name, empty string if unkown. + * @param string $display_name The author's display name, empty string if unknown. */ return apply_filters( 'the_modified_author', $last_user ? $last_user->display_name : '' ); }