WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 11 months ago

#16516 closed defect (bug) (fixed)

wp_page_menu documentation of the sort_column parameter

Reported by: FrancescoRizzi Owned by: SergeyBiryukov
Milestone: 3.7 Priority: normal
Severity: normal Version: 2.7
Component: Inline Docs Keywords: has-patch
Focuses: Cc:

Description

The source code documentation for wp_page_menu reads:

* <li><strong>sort_column</strong> - How to sort the list of pages. Defaults
* to page title. Use column for posts table.</li>

The actual default value is 'menu_order, post_title' (correctly, as per Ticket 10266).

Attachments (2)

16516.patch (644 bytes) - added by jakub.tyrcha 3 years ago.
16516.2.patch (639 bytes) - added by c3mdigital 11 months ago.
Refresh of original patch

Download all attachments as: .zip

Change History (6)

jakub.tyrcha3 years ago

comment:1 c3mdigital11 months ago

  • Component changed from General to Inline Docs
  • Keywords has-patch needs-refresh added; doc removed
  • Severity changed from trivial to normal
  • Version changed from 3.0.5 to 2.7

c3mdigital11 months ago

Refresh of original patch

comment:2 c3mdigital11 months ago

  • Keywords needs-refresh removed

comment:3 SergeyBiryukov11 months ago

  • Milestone changed from Awaiting Review to 3.7

comment:4 SergeyBiryukov11 months ago

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

In 25026:

Correct sort_column argument description for wp_page_menu(). props jakub.tyrcha, c3mdigital. fixes #16516.

Note: See TracTickets for help on using tickets.