Wordpress 4.6
[autoinstalls/wordpress.git] / wp-includes / class-wp-term.php
index d53d5184942b864c6c47c25784bf9bc4f5e0ca02..3b4931a0412ab79d54b7cd7080c5a4d1d602eade 100644 (file)
@@ -176,7 +176,7 @@ final class WP_Term {
 
                        // Don't return terms from invalid taxonomies.
                        if ( ! taxonomy_exists( $_term->taxonomy ) ) {
-                               return new WP_Error( 'invalid_taxonomy', __( 'Invalid taxonomy' ) );
+                               return new WP_Error( 'invalid_taxonomy', __( 'Invalid taxonomy.' ) );
                        }
 
                        $_term = sanitize_term( $_term, $_term->taxonomy, 'raw' );