WordPress.org

Make WordPress Core

Changeset 48585


Ignore:
Timestamp:
07/23/2020 07:04:38 PM (6 months ago)
Author:
johnbillion
Message:

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

See #49572

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r48521 r48585  
    10151015         * @since 2.8.0
    10161016         *
    1017          * @param string $column_name         The custom column's name.
    1018          * @param int    $comment->comment_ID The custom column's unique ID number.
     1017         * @param string $column_name The custom column's name.
     1018         * @param int    $comment_ID The custom column's unique ID number.
    10191019         */
    10201020        do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID );
  • trunk/src/wp-admin/includes/comment.php

    r48576 r48585  
    123123     * @since 2.0.0
    124124     *
    125      * @param string $comment->comment_content Comment content.
     125     * @param string $comment_content Comment content.
    126126     */
    127127    $comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content );
  • trunk/src/wp-includes/class-wp-rewrite.php

    r48197 r48585  
    14441444         * @since 1.5.0
    14451445         *
    1446          * @param string[] $this->rules The compiled array of rewrite rules, keyed by their regex pattern.
     1446         * @param string[] $rules The compiled array of rewrite rules, keyed by their regex pattern.
    14471447         */
    14481448        $this->rules = apply_filters( 'rewrite_rules_array', $this->rules );
  • trunk/src/wp-includes/feed-rss2-comments.php

    r47122 r48585  
    111111         * @since 2.1.0
    112112         *
    113          * @param int $comment->comment_ID The ID of the comment being displayed.
    114          * @param int $comment_post->ID    The ID of the post the comment is connected to.
     113         * @param int $comment_ID The ID of the comment being displayed.
     114         * @param int $ID         The ID of the post the comment is connected to.
    115115         */
    116116        do_action( 'commentrss2_item', $comment->comment_ID, $comment_post->ID );
  • trunk/src/wp-includes/user.php

    r48214 r48585  
    23202320     * @since 2.7.0
    23212321     *
    2322      * @param bool $allow         Whether to allow the password to be reset. Default true.
    2323      * @param int  $user_data->ID The ID of the user attempting to reset a password.
     2322     * @param bool $allow Whether to allow the password to be reset. Default true.
     2323     * @param int  $ID    The ID of the user attempting to reset a password.
    23242324     */
    23252325    $allow = apply_filters( 'allow_password_reset', $allow, $user->ID );
Note: See TracChangeset for help on using the changeset viewer.