Make WordPress Core


Ignore:
Timestamp:
07/17/2016 04:14:27 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Add a full stop to "Invalid taxonomy" and "Invalid term ID" strings, for consistency with similar post-related messages.

See #18218, #32329.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-term.php

    r36250 r38077  
    177177            // Don't return terms from invalid taxonomies.
    178178            if ( ! taxonomy_exists( $_term->taxonomy ) ) {
    179                 return new WP_Error( 'invalid_taxonomy', __( 'Invalid taxonomy' ) );
     179                return new WP_Error( 'invalid_taxonomy', __( 'Invalid taxonomy.' ) );
    180180            }
    181181
Note: See TracChangeset for help on using the changeset viewer.