[wp-trac] [WordPress Trac] #16516: wp_page_menu documentation of the sort_column parameter

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 10 15:13:14 UTC 2011


#16516: wp_page_menu documentation of the sort_column parameter
----------------------------+-----------------------------
 Reporter:  FrancescoRizzi  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  3.0.5
 Severity:  trivial         |   Keywords:  doc
----------------------------+-----------------------------
 The [http://core.trac.wordpress.org/browser/tags/3.0.5/wp-includes/post-
 template.php#L810 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 [http://core.trac.wordpress.org/ticket/10266 Ticket 10266]).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16516>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list