Make WordPress Core


Ignore:
Timestamp:
07/17/2016 04:14:27 PM (9 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-admin/edit-tags.php

    r37914 r38077  
    1111
    1212if ( ! $taxnow )
    13     wp_die( __( 'Invalid taxonomy' ) );
     13    wp_die( __( 'Invalid taxonomy.' ) );
    1414
    1515$tax = get_taxonomy( $taxnow );
    1616
    1717if ( ! $tax )
    18     wp_die( __( 'Invalid taxonomy' ) );
     18    wp_die( __( 'Invalid taxonomy.' ) );
    1919
    2020if ( ! in_array( $tax->name, get_taxonomies( array( 'show_ui' => true ) ) ) ) {
Note: See TracChangeset for help on using the changeset viewer.