diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 87a77b572e..214c134d01 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3374,7 +3374,7 @@ function _wp_die_process_input( $message, $title = '', $args = array() ) { $errors[] = array( 'code' => $error_code, 'message' => $error_message, - 'data' => $error->get_error_data( $error_code ), + 'data' => $message->get_error_data( $error_code ), ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 4cc1d82f96..105cdb4552 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-beta2-44689'; +$wp_version = '5.1-beta2-44690'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.