WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#44877 closed enhancement (fixed)

PHPDoc correction in wp-admin\includes\misc.php

Reported by: burhandodhy Owned by: SergeyBiryukov
Milestone: 4.9.9 Priority: normal
Severity: minor Version:
Component: Privacy Keywords: has-patch
Focuses: coding-standards Cc:

Description

For notice() function, the parameter type should be added first and then the parameter name.

Currently

@param $post WP_Post The currently edited post.

Should be

@param WP_Post $post The currently edited post.

Attachments (1)

44877.patch (449 bytes) - added by burhandodhy 3 years ago.

Download all attachments as: .zip

Change History (8)

@burhandodhy
3 years ago

#1 @burhandodhy
3 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
3 years ago

  • Component changed from Administration to Privacy
  • Milestone changed from Awaiting Review to 4.9.9

#3 @SergeyBiryukov
3 years ago

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

In 43609:

Docs: Correct parameter type for WP_Privacy_Policy_Content::notice().

Props burhandodhy.
Fixes #44877.

#4 @SergeyBiryukov
3 years ago

  • Keywords fixed-major added
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening for 4.9.9 consideration.

#5 @SergeyBiryukov
3 years ago

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

In 43615:

Docs: Correct parameter type for WP_Privacy_Policy_Content::notice().

Props burhandodhy.
Merges [43609] to the 4.9 branch.
Fixes #44877.

#6 @pento
3 years ago

  • Keywords fixed-major removed
  • Resolution fixed deleted
  • Status changed from closed to reopened

[43609] can be merged to the 5.0 branch.

#7 @SergeyBiryukov
3 years ago

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

In 43709:

Docs: Correct parameter type for WP_Privacy_Policy_Content::notice().

Props burhandodhy.
Merges [43609] to the 5.0 branch.
Fixes #44877.

Note: See TracTickets for help on using tickets.