Make WordPress Core

Opened 10 years ago

Closed 10 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's profile dnaber-de Owned by: wonderboymusic's profile wonderboymusic
Milestone: 4.0 Priority: normal
Severity: normal Version: 4.0
Component: Comments Keywords: has-patch
Focuses: docs Cc:


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

Download all attachments as: .zip

Change History (5)

10 years ago

#1 @dnaber-de
10 years ago

  • Keywords has-patch added

#2 @ocean90
10 years ago

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

#3 @ocean90
10 years ago

  • Keywords has-patch added

#4 @wonderboymusic
10 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.