Opened 6 years ago
Closed 5 years ago
#46854 closed defect (bug) (fixed)
Incorrect type docblock annotation for $current_partial_id in wp-includes/customize/class-wp-customize-selective-refresh.php
Reported by: | diddledani | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
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
.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
patch to change type annotation in docblock from string to string|null