[wp-trac] [WordPress Trac] #34473: Wrong default order for pages list table in 4.4

WordPress Trac noreply at wordpress.org
Sun Nov 1 00:43:03 UTC 2015


#34473: Wrong default order for pages list table in 4.4
-------------------------------+-----------------------------
 Reporter:  szaqal21           |       Owner:  SergeyBiryukov
     Type:  defect (bug)       |      Status:  reviewing
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => reviewing


Comment:

 There's a block for hierarchical post types in [source:tags/4.3.1/src/wp-
 admin/includes/post.php?rev=34728#L1048 line 1048], which never runs after
 [34728], because `$orderby` is always set now.

 [attachment:34473-wrong-default-order-for-pages.diff] looks good. No need
 to check if `$post_type` is set though, it's set above.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34473#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list