WordPress.org

Make WordPress Core

Changeset 38098


Ignore:
Timestamp:
07/19/2016 01:48:23 AM (22 months ago)
Author:
rachelbaker
Message:

Docs: Correct comment_max_links_url filter and $url param descriptions to communicate values are found links.

$num_links is the number of link matches found within the comment_content, and that is the value that can be modified with the comment_max_links_url filter.

Props pbearne.
Fixes #37319.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r38092 r38098  
    5252
    5353        /**
    54          * Filters the maximum number of links allowed in a comment.
     54         * Filters the number of links found in a comment.
    5555         *
    5656         * @since 3.0.0
    5757         *
    58          * @param int    $num_links The number of links allowed.
     58         * @param int    $num_links The number of links found.
    5959         * @param string $url       Comment author's URL. Included in allowed links total.
    6060         */
Note: See TracChangeset for help on using the changeset viewer.