Make WordPress Core

Ticket #15741: 15741.3.diff

File 15741.3.diff, 672 bytes (added by ericmann, 12 years ago)

Patch refresh + string update

  • wp-includes/taxonomy.php

     
    21052105                        $term_id = (int) $wpdb->insert_id;
    21062106                } elseif ( $exists = term_exists( (int) $term_id, $taxonomy ) )  {
    21072107                        // Same name, same slug.
    2108                         return new WP_Error('term_exists', __('A term with the name provided already exists.'), $exists['term_id']);
     2108                        return new WP_Error('term_exists', __('A term with the name and slug provided already exists.'), $exists['term_id']);
    21092109                }
    21102110        } else {
    21112111                // This term does not exist at all in the database, Create it.