Make WordPress Core

Changeset 44457


Ignore:
Timestamp:
01/08/2019 04:49:42 AM (6 years ago)
Author:
pento
Message:

Docs: Fix the @param types for `comments_popup_link().

Props Mirucon.
Fixes #44841.

File:
1 edited

Legend:

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

    r43571 r44457  
    15171517 * @since 0.71
    15181518 *
    1519  * @param string $zero      Optional. String to display when no comments. Default false.
    1520  * @param string $one       Optional. String to display when only one comment is available.
    1521  *                          Default false.
    1522  * @param string $more      Optional. String to display when there are more than one comment.
    1523  *                          Default false.
    1524  * @param string $css_class Optional. CSS class to use for comments. Default empty.
    1525  * @param string $none      Optional. String to display when comments have been turned off.
    1526  *                          Default false.
     1519 * @param false|string $zero      Optional. String to display when no comments. Default false.
     1520 * @param false|string $one       Optional. String to display when only one comment is available. Default false.
     1521 * @param false|string $more      Optional. String to display when there are more than one comment. Default false.
     1522 * @param string       $css_class Optional. CSS class to use for comments. Default empty.
     1523 * @param false|string $none      Optional. String to display when comments have been turned off. Default false.
    15271524 */
    15281525function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) {
Note: See TracChangeset for help on using the changeset viewer.