Make WordPress Core

Ticket #48615: 48615.patch

File 48615.patch, 1.0 KB (added by diddledani, 5 years ago)

Patch to set param types to string

  • wp-includes/class-simplepie.php

    From b696c2eef73680919b7f65ecdff845c834e68694 Mon Sep 17 00:00:00 2001
    From: Daniel Llewellyn <daniel@bowlhat.net>
    Date: Wed, 13 Nov 2019 21:18:15 +0000
    Subject: [PATCH] Update wp-includes/class-simplepie.php
    
    Set parameter types to correct keyword for strings
    ---
     wp-includes/class-simplepie.php | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/wp-includes/class-simplepie.php b/wp-includes/class-simplepie.php
    index 6110413767..71af492659 100644
    a b class SimplePie 
    12051205        /**
    12061206         * Set the handler to enable the display of cached images.
    12071207         *
    1208          * @param str $page Web-accessible path to the handler_image.php file.
    1209          * @param str $qs The query string that the value should be passed to.
     1208         * @param string $page Web-accessible path to the handler_image.php file.
     1209         * @param string $qs The query string that the value should be passed to.
    12101210         */
    12111211        public function set_image_handler($page = false, $qs = 'i')
    12121212        {