Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#30098 closed defect (bug) (fixed)

Correct DocBlock @param types

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

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

Download all attachments as: .zip

Change History (4)

@ipm-frommen
12 years ago

#1 @DrewAPicture
12 years ago

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

Hi ipm-frommen, thanks for the patch!

#2 @DrewAPicture
12 years ago

  • Owner set to DrewAPicture
  • Resolution → fixed
  • Status new → 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
12 years ago

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

Note: See TracTickets for help on using tickets.