[wp-trac] [WordPress Trac] #58322: Docblock update for `get_sample_permalink_html` hook
WordPress Trac
noreply at wordpress.org
Mon May 15 23:35:45 UTC 2023
#58322: Docblock update for `get_sample_permalink_html` hook
--------------------------+---------------------
Reporter: Enchiridion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: Permalinks | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
--------------------------+---------------------
Comment (by SergeyBiryukov):
Hi there, thanks for the ticket!
Indeed, these values can be `null` if `get_sample_permalink_html()` was
called with default parameters, and they are documented as `string|null`
in the function DocBlock.
The patch looks good.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58322#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list