WordPress.org

Make WordPress Core

Ticket #26436: return-void.diff

File return-void.diff, 714 bytes (added by Corphi, 7 years ago)

variant using a return void annotation

  • wp-includes/link-template.php

     
    993993}
    994994
    995995/**
    996  * Display or retrieve edit comment link with formatting.
     996 * Display edit comment link with formatting.
    997997 *
    998998 * @since 1.0.0
    999999 *
    10001000 * @param string $link Optional. Anchor text.
    10011001 * @param string $before Optional. Display before edit link.
    10021002 * @param string $after Optional. Display after edit link.
    1003  * @return string|null HTML content, if $echo is set to false.
     1003 * @return void
    10041004 */
    10051005function edit_comment_link( $link = null, $before = '', $after = '' ) {
    10061006        global $comment;