Docs: Use more appropriate variable names in the inline docs for action and filter parameters.

See #49572
Built from https://develop.svn.wordpress.org/trunk@48585


git-svn-id: http://core.svn.wordpress.org/trunk@48347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2020-07-23 19:06:03 +00:00
parent 231d21ebcd
commit 7f898dd9c4
6 changed files with 9 additions and 9 deletions

View File

@ -1015,7 +1015,7 @@ class WP_Comments_List_Table extends WP_List_Table {
* @since 2.8.0
*
* @param string $column_name The custom column's name.
* @param int $comment->comment_ID The custom column's unique ID number.
* @param int $comment_ID The custom column's unique ID number.
*/
do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID );
}

View File

@ -122,7 +122,7 @@ function get_comment_to_edit( $id ) {
*
* @since 2.0.0
*
* @param string $comment->comment_content Comment content.
* @param string $comment_content Comment content.
*/
$comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content );

View File

@ -1443,7 +1443,7 @@ class WP_Rewrite {
*
* @since 1.5.0
*
* @param string[] $this->rules The compiled array of rewrite rules, keyed by their regex pattern.
* @param string[] $rules The compiled array of rewrite rules, keyed by their regex pattern.
*/
$this->rules = apply_filters( 'rewrite_rules_array', $this->rules );

View File

@ -110,8 +110,8 @@ do_action( 'rss_tag_pre', 'rss2-comments' );
*
* @since 2.1.0
*
* @param int $comment->comment_ID The ID of the comment being displayed.
* @param int $comment_post->ID The ID of the post the comment is connected to.
* @param int $comment_ID The ID of the comment being displayed.
* @param int $ID The ID of the post the comment is connected to.
*/
do_action( 'commentrss2_item', $comment->comment_ID, $comment_post->ID );
?>

View File

@ -2320,7 +2320,7 @@ function get_password_reset_key( $user ) {
* @since 2.7.0
*
* @param bool $allow Whether to allow the password to be reset. Default true.
* @param int $user_data->ID The ID of the user attempting to reset a password.
* @param int $ID The ID of the user attempting to reset a password.
*/
$allow = apply_filters( 'allow_password_reset', $allow, $user->ID );

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-beta3-48584';
$wp_version = '5.5-beta3-48585';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.