Make WordPress Core

Opened 16 years ago

Closed 13 years ago

#16516 closed defect (bug) (fixed)

wp_page_menu documentation of the sort_column parameter

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

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

Download all attachments as: .zip

Change History (6)

@jakub.tyrcha
15 years ago

#1 @c3mdigital
13 years ago

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

@c3mdigital
13 years ago

Refresh of original patch

#2 @c3mdigital
13 years ago

  • Keywords needs-refresh removed

#3 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review → 3.7

#4 @SergeyBiryukov
13 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → 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.