WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#13370 closed defect (bug) (fixed)

Fix inline documentation for wp_nav_menu()

Reported by: nathanrice Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords: phpdoc, inline documentation, nav menus, has-patch
Focuses: Cc:

Description

Some arguments and descriptions are incorrect or outdated.

Attachments (3)

nav-menu-template.php.diff (882 bytes) - added by nathanrice 5 years ago.
nav-menu-template.php-docs.patch (1.6 KB) - added by jorbin 5 years ago.
14604.patch (858 bytes) - added by jorbin 5 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 @nathanrice5 years ago

  • Keywords has-patch added

comment:2 @nacin5 years ago

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

(In [14591]) Nav menu inline doc fixes. props NathanRice, fixes #13370.

comment:3 @jorbin5 years ago

  • Cc aaron@… added
  • Resolution fixed deleted
  • Status changed from closed to reopened

There are still some discrepancy between the inline docs and the actual behavior. Patch above clears it up a bit.

comment:4 @nacin5 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [14604]) More inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.

@jorbin5 years ago

comment:5 @jorbin5 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

doh! missed two args.

comment:6 @nacin5 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [14605]) More wp_navMore inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.

Note: See TracTickets for help on using tickets.