[wp-trac] [WordPress Trac] #17127: Must use plugins not displayed in order of execution

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 14 10:47:44 UTC 2011


#17127: Must use plugins not displayed in order of execution
-------------------------+------------------------------
 Reporter:  jcnetsys     |       Owner:  jcnetsys
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Plugins      |     Version:  3.1
 Severity:  trivial      |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------
Changes (by jcnetsys):

 * status:  new => accepted


Comment:

 The problem is with


 {{{
 function _sort_uname_callback( $a, $b ) {
         return strnatcasecmp( $a['Name'], $b['Name'] );
 }
 }}}


 Which doesn't do what it is supposed to as it returns elements which start
 with a symbol after those which start with a letter. Conventionally
 symbols are before letters in the alphabet and that is how they are
 executed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17127#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list