Make WordPress Core

Ticket #46854: 46854.diff

File 46854.diff, 1.1 KB (added by diddledani, 6 years ago)

patch to change type annotation in docblock from string to string|null

  • wp-includes/customize/class-wp-customize-selective-refresh.php

    diff --git a/wp-includes/customize/class-wp-customize-selective-refresh.php b/wp-includes/customize/class-wp-customize-selective-refresh.php
    index 87113486b2..0b5c446131 100644
    a b final class WP_Customize_Selective_Refresh { 
    4949         * Keep track of the current partial being rendered.
    5050         *
    5151         * @since 4.5.0
    52          * @var string
     52         * @var string|null
    5353         */
    5454        protected $current_partial_id;
    5555