diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 2ec21126e0..5ab3eef749 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -307,7 +307,7 @@ if ( ! function_exists( 'wp_mail' ) ) : if ( false !== $bracket_pos ) { // Text before the bracketed email is the "From" name. if ( $bracket_pos > 0 ) { - $from_name = substr( $content, 0, $bracket_pos - 1 ); + $from_name = substr( $content, 0, $bracket_pos ); $from_name = str_replace( '"', '', $from_name ); $from_name = trim( $from_name ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index e65411e4c3..c4e7f9cd18 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53899'; +$wp_version = '6.1-alpha-53900'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.