diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index ca23882f99..d746575225 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -176,10 +176,10 @@ function wp_terms_checklist( $post_id = 0, $args = array() ) { } // Put checked cats on top - $output .= call_user_func_array( array( $walker, 'walk' ), array( $checked_categories, 0, $args ) ); + $output .= $walker->walk( $checked_categories, 0, $args ); } // Then the rest of them - $output .= call_user_func_array( array( $walker, 'walk' ), array( $categories, 0, $args ) ); + $output .= $walker->walk( $categories, 0, $args ); if ( $parsed_args['echo'] ) { echo $output; diff --git a/wp-includes/version.php b/wp-includes/version.php index bdf7c8ff94..aefbadde2f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46136'; +$wp_version = '5.3-alpha-46137'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.