WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 6 years 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:
PR Number:

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 8 years ago.
16516.2.patch (639 bytes) - added by c3mdigital 6 years ago.
Refresh of original patch

Download all attachments as: .zip

Change History (6)

@jakub.tyrcha
8 years ago

#1 @c3mdigital
6 years 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

@c3mdigital
6 years ago

Refresh of original patch

#2 @c3mdigital
6 years ago

  • Keywords needs-refresh removed

#3 @SergeyBiryukov
6 years ago

  • Milestone changed from Awaiting Review to 3.7

#4 @SergeyBiryukov
6 years 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.