Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#44915 closed defect (bug) (fixed)

Incorrect @since tag for _wp_privacy_statuses() function

Reported by: dimadin's profile dimadin Owned by: sergeybiryukov's profile SergeyBiryukov
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)

44915.diff (877 bytes) - added by dimadin 7 years ago.

Download all attachments as: .zip

Change History (7)

@dimadin
7 years ago

#1 @pbiron
7 years ago

  • Component changed from General to Privacy

#2 @desrosj
7 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 4.9.9

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.

#3 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 43638:

Docs: Correct @since value for _wp_privacy_statuses().

Fix typo in @since entry for WP_Privacy_Policy_Content:add().

Props dimadin.
Fixes #44915.

#4 @SergeyBiryukov
7 years ago

In 43639:

Docs: Correct @since value for _wp_privacy_statuses().

Fix typo in @since entry for WP_Privacy_Policy_Content:add().

Props dimadin.
Merges [43638] to the 4.9 branch.
Fixes #44915.

#5 @pento
7 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

[43638] can be merged to the 5.0 branch.

#6 @SergeyBiryukov
7 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 43710:

Docs: Correct @since value for _wp_privacy_statuses().

Fix typo in @since entry for WP_Privacy_Policy_Content:add().

Props dimadin.
Merges [43638] to the 5.0 branch.
Fixes #44915.

Note: See TracTickets for help on using tickets.