Docs: Correct the type for ::prepare_status_response() parameter in WP_REST_Comments_Controller.

The accepted value is `WP_Comment::$comment_approved`, which is documented as a string.

Follow-up to [38832], [33891], [39015], [59805], [59871].

See #62281.
Built from https://develop.svn.wordpress.org/trunk@59882


git-svn-id: http://core.svn.wordpress.org/trunk@59224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2025-02-27 22:41:24 +00:00
parent 741a914df3
commit f37de3c6ac
2 changed files with 2 additions and 2 deletions

View File

@ -1247,7 +1247,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
*
* @since 4.7.0
*
* @param string|int $comment_approved comment status.
* @param string $comment_approved Comment status.
* @return string Comment status.
*/
protected function prepare_status_response( $comment_approved ) {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59881';
$wp_version = '6.8-alpha-59882';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.