From 35c0c59123c3c576cf42b3c934ee3078b67ae0b7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 26 Apr 2015 11:50:26 +0000 Subject: [PATCH] Add missing word to `wp_insert_term()` error strings. props dipesh.kakadiya. fixes #32031. Built from https://develop.svn.wordpress.org/trunk@32297 git-svn-id: http://core.svn.wordpress.org/trunk@32268 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index cce486786b..7ce4093285 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -2928,10 +2928,10 @@ function wp_insert_term( $term, $taxonomy, $args = array() ) { } if ( $existing_term ) { - return new WP_Error( 'term_exists', __( 'A term with the name already exists with this parent.' ), $existing_term->term_id ); + return new WP_Error( 'term_exists', __( 'A term with the name provided already exists with this parent.' ), $existing_term->term_id ); } } else { - return new WP_Error( 'term_exists', __( 'A term with the name already exists in this taxonomy.' ), $name_match->term_id ); + return new WP_Error( 'term_exists', __( 'A term with the name provided already exists in this taxonomy.' ), $name_match->term_id ); } } } diff --git a/wp-includes/version.php b/wp-includes/version.php index af553d90c8..c76982d5e4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32296'; +$wp_version = '4.3-alpha-32297'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.