Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#44877 closed enhancement (fixed)

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

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

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 8 years ago.

Download all attachments as: .zip

Change History (8)

#1 @burhandodhy
8 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
8 years ago

  • Component Administration → Privacy
  • Milestone Awaiting Review → 4.9.9

#3 @SergeyBiryukov
8 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 43609:

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

Props burhandodhy.
Fixes #44877.

#4 @SergeyBiryukov
8 years ago

  • Keywords fixed-major added
  • Resolution fixed
  • Status closed → reopened

Reopening for 4.9.9 consideration.

#5 @SergeyBiryukov
8 years ago

  • Resolution → fixed
  • Status reopened → 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
8 years ago

  • Keywords fixed-major removed
  • Resolution fixed
  • Status closed → reopened

[43609] can be merged to the 5.0 branch.

#7 @SergeyBiryukov
8 years ago

  • Resolution → fixed
  • Status reopened → 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.