Opened 7 years ago
Closed 7 years ago
#44915 closed defect (bug) (fixed)
Incorrect @since tag for _wp_privacy_statuses() function
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.9.9 | Priority: | normal |
Severity: | trivial | Version: | 4.9.6 |
Component: | Privacy | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
Description
In [42967], function _wp_privacy_statuses()
was introduced and was later merged in [43071] to the 4.9 branch so it was available since 4.9.6.
Its @since
tag incorrectly states that it's available since 5.0.0. Attached patch fixes that, and it also fixes typo in PHPDoc tag for WP_Privacy_Policy_Content::add()
.
Because of case with 4.9 branch, not sure if it should be fixed there too.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Thanks for this, @dimadin! Patch looks good. This should be backported, but the person who commits this will handle that. This is a simple change, so a separate patch is not needed.