WordPress.org

Make WordPress Core

Ticket #35215: wp-screen-should-ksort-help-tabs.diff

File wp-screen-should-ksort-help-tabs.diff, 373 bytes (added by meitar, 5 years ago)

Patch to use ksort() so help tab priorities are returned correctly ordered.

  • wp-admin/includes/class-wp-screen.php

     
    530530                        }
    531531                }
    532532
    533                 sort( $priorities );
     533                ksort( $priorities );
    534534
    535535                $sorted = array();
    536536                foreach ( $priorities as $list ) {