WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#30098 closed defect (bug) (fixed)

Correct DocBlock @param types

Reported by: ipm-frommen Owned by: DrewAPicture
Milestone: 4.1 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: docs Cc:

Description

Two DocBlock @param types were incorrect, and thus led to assume illegal array key types.

Attachments (1)

30098.diff (1.1 KB) - added by ipm-frommen 6 years ago.

Download all attachments as: .zip

Change History (4)

@ipm-frommen
6 years ago

#1 @DrewAPicture
6 years ago

  • Component changed from Comments to General
  • Focuses docs added
  • Milestone changed from Awaiting Review to 4.1
  • Type changed from enhancement to defect (bug)

Hi ipm-frommen, thanks for the patch!

#2 @DrewAPicture
6 years ago

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

In 30019:

Fix the $location parameter type in the unregister_nav_menu() DocBlock.

$location is a string, not an array.

Props ipm-frommen.
Fixes #30098.

#3 @DrewAPicture
6 years ago

Looks like the first one, [30018], missed the ticket.

Note: See TracTickets for help on using tickets.