diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index e90a87f760..d8048f91d3 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -81,7 +81,7 @@ case 'add-tag': $ret = wp_insert_term( $_POST['tag-name'], $taxonomy, $_POST ); if ( $ret && !is_wp_error( $ret ) ) - $location = add_query_arg( 'message', 1, $location ); + $location = add_query_arg( 'message', 1, $referer ); else $location = add_query_arg( array( 'error' => true, 'message' => 4 ), $referer ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 92183050b9..e53158fd54 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7.1-alpha-39651'; +$wp_version = '4.7.1-alpha-39652'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.