[wp-trac] [WordPress Trac] #35215: Setting help tab priorities fails to correctly order the tabs

WordPress Trac noreply at wordpress.org
Fri Dec 25 22:43:44 UTC 2015


#35215: Setting help tab priorities fails to correctly order the tabs
---------------------------------------------+-----------------------------
 Reporter:  meitar                           |       Owner:  jorbin
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.4.1
Component:  Help/About                       |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  administration
---------------------------------------------+-----------------------------
Changes (by jorbin):

 * owner:   => jorbin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36089"]:
 {{{
 #!CommitTicketReference repository="" revision="36089"
 Help Tab Order should be based on the Priority Argument

 [34370] made the order that tabs are returned respect the order they are
 added, however it broke the respect of priority. By using a ksort instead
 of a sort, we can restore that default behavior. This adjusts the unit
 tests so that both order added and priority are tested.

 Props meitar,  swissspidy, jorbin
 Fixes #35215. See #33941.
 }}}

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


More information about the wp-trac mailing list