WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#29011 closed defect (bug) (fixed)

Wrong parameter types specified in PHPDoc for wp_list_comments() and wp_nav_menu()

Reported by: dnaber-de Owned by: wonderboymusic
Milestone: 4.0 Priority: normal
Severity: normal Version: 4.0
Component: Comments Keywords: has-patch
Focuses: docs Cc:

Description

As mentioned here the parameter type for the custom walker is declared as string but has to be an object.

Attachments (1)

29011.diff (1.8 KB) - added by dnaber-de 6 years ago.

Download all attachments as: .zip

Change History (5)

@dnaber-de
6 years ago

#1 @dnaber-de
6 years ago

  • Keywords has-patch added

#2 @ocean90
6 years ago

  • Keywords has-patch removed
  • Milestone changed from Awaiting Review to 4.0

#3 @ocean90
6 years ago

  • Keywords has-patch added

#4 @wonderboymusic
6 years ago

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

In 29293:

Correct a few @param docs for $walker.

Props dnaber-de.
Fixes #29011.

Note: See TracTickets for help on using tickets.