mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Docs: Increase the specificity of various docblock parameter types and return types.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46823 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1684,9 +1684,9 @@ function wp_get_comment_status( $comment_id ) {
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string $new_status New comment status.
|
||||
* @param string $old_status Previous comment status.
|
||||
* @param object $comment Comment data.
|
||||
* @param string $new_status New comment status.
|
||||
* @param string $old_status Previous comment status.
|
||||
* @param WP_Comment $comment Comment object.
|
||||
*/
|
||||
function wp_transition_comment_status( $new_status, $old_status, $comment ) {
|
||||
/*
|
||||
@@ -1716,7 +1716,7 @@ function wp_transition_comment_status( $new_status, $old_status, $comment ) {
|
||||
*
|
||||
* @param int|string $new_status The new comment status.
|
||||
* @param int|string $old_status The old comment status.
|
||||
* @param object $comment The comment data.
|
||||
* @param WP_Comment $comment Comment object.
|
||||
*/
|
||||
do_action( 'transition_comment_status', $new_status, $old_status, $comment );
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user