Make WordPress Core


Ignore:
Timestamp:
12/06/2019 10:41:26 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Increase the specificity of various docblock parameter types and return types.

See #48303

File:
1 edited

Legend:

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

    r46795 r46823  
    10411041 * @since 3.1.0
    10421042 *
    1043  * @param string $link   Optional. Anchor text. If empty, default is 'Edit This'. Default empty.
    1044  * @param string $before Optional. Display before edit link. Default empty.
    1045  * @param string $after  Optional. Display after edit link. Default empty.
    1046  * @param object $term   Optional. Term object. If null, the queried object will be inspected. Default null.
    1047  * @param bool   $echo   Optional. Whether or not to echo the return. Default true.
     1043 * @param string  $link   Optional. Anchor text. If empty, default is 'Edit This'. Default empty.
     1044 * @param string  $before Optional. Display before edit link. Default empty.
     1045 * @param string  $after  Optional. Display after edit link. Default empty.
     1046 * @param WP_Term $term   Optional. Term object. If null, the queried object will be inspected. Default null.
     1047 * @param bool    $echo   Optional. Whether or not to echo the return. Default true.
    10481048 * @return string|void HTML content.
    10491049 */
Note: See TracChangeset for help on using the changeset viewer.