WordPress.org

Make WordPress Core

Ticket #48614: 48614.patch

File 48614.patch, 735 bytes (added by diddledani, 22 months ago)

Patch to set return type to void

  • wp-includes/feed.php

    From e4f658a347acb1d283b5adfad0575bbb1cf5fb8c Mon Sep 17 00:00:00 2001
    From: Daniel Llewellyn <daniel@bowlhat.net>
    Date: Wed, 13 Nov 2019 21:12:25 +0000
    Subject: [PATCH] Update wp-includes/feed.php
    
    Set return type of `comments_link_feed` to `void`.
    ---
     wp-includes/feed.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/wp-includes/feed.php b/wp-includes/feed.php
    index d74667bc75..a321d82d3e 100644
    a b function the_permalink_rss() { 
    250250 * Outputs the link to the comments for the current post in an xml safe way
    251251 *
    252252 * @since 3.0.0
    253  * @return none
     253 * @return void
    254254 */
    255255function comments_link_feed() {
    256256        /**