Commit b0e4c013 authored by John Blackbourn's avatar John Blackbourn
Browse files

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: https://core.svn.wordpress.org/trunk@48347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 3bb91632
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 );
	}
+1 −1
Original line number Diff line number Diff line
@@ -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 );

+1 −1
Original line number Diff line number Diff line
@@ -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 );

+2 −2
Original line number Diff line number Diff line
@@ -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 );
		?>
+2 −2
Original line number Diff line number Diff line
@@ -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 );

Loading