[wp-trac] [WordPress Trac] #46854: Incorrect type docblock annotation for $current_partial_id in wp-includes/customize/class-wp-customize-selective-refresh.php

WordPress Trac noreply at wordpress.org
Tue Apr 9 14:56:28 UTC 2019


#46854: Incorrect type docblock annotation for $current_partial_id in wp-
includes/customize/class-wp-customize-selective-refresh.php
--------------------------+-----------------------------
 Reporter:  diddledan     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 The type annotation docblock indicates that `$current_partial_id` is a
 string, but occasionally the variable is assigned a `null` value. The
 attached patch fixes the docblock to state that `null` is allowable as
 well as `string`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46854>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list