Remove 'sorted' from do_accordion_sections(). fixes #23450.

git-svn-id: http://core.svn.wordpress.org/trunk@24674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-07-12 15:43:00 +00:00
parent 8f1a5dbd98
commit eaa4370237
1 changed files with 1 additions and 1 deletions

View File

@ -1002,7 +1002,7 @@ function do_accordion_sections( $screen, $context, $object ) {
if ( ! isset( $wp_meta_boxes ) || ! isset( $wp_meta_boxes[$page] ) || ! isset( $wp_meta_boxes[$page][$context] ) ) if ( ! isset( $wp_meta_boxes ) || ! isset( $wp_meta_boxes[$page] ) || ! isset( $wp_meta_boxes[$page][$context] ) )
break; break;
foreach ( array( 'high', 'sorted', 'core', 'default', 'low' ) as $priority ) { foreach ( array( 'high', 'core', 'default', 'low' ) as $priority ) {
if ( isset( $wp_meta_boxes[$page][$context][$priority] ) ) { if ( isset( $wp_meta_boxes[$page][$context][$priority] ) ) {
foreach ( $wp_meta_boxes[$page][$context][$priority] as $box ) { foreach ( $wp_meta_boxes[$page][$context][$priority] as $box ) {
if ( false == $box || ! $box['title'] ) if ( false == $box || ! $box['title'] )