From 1712bfcf79097df6766f093f3695c84f058e2666 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 3 Feb 2022 21:23:22 +0000 Subject: [PATCH] Docs: Fix typo in the `is_post_status_viewable()` function description. Follow-up to [50130]. Props rafiahmedd. Fixes #55068. git-svn-id: https://develop.svn.wordpress.org/trunk@52670 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 5377f4eaee..3d5ba21d95 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -2291,7 +2291,7 @@ function is_post_type_viewable( $post_type ) { /** * Determine whether a post status is considered "viewable". * - * For built-in post statuses such as publish and private, the 'public' value will be evaluted. + * For built-in post statuses such as publish and private, the 'public' value will be evaluated. * For all others, the 'publicly_queryable' value will be used. * * @since 5.7.0