Make WordPress Core

Changeset 36244


Ignore:
Timestamp:
01/09/2016 03:15:55 PM (9 years ago)
Author:
swissspidy
Message:

Taxonomy: Use Invalid taxonomy instead of Invalid Taxonomy for error strings.

File:
1 edited

Legend:

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

    r36243 r36244  
    491491function unregister_taxonomy( $taxonomy ) {
    492492    if ( ! taxonomy_exists( $taxonomy ) ) {
    493         return new WP_Error( 'invalid_taxonomy', __( 'Invalid Taxonomy' ) );
     493        return new WP_Error( 'invalid_taxonomy', __( 'Invalid taxonomy' ) );
    494494    }
    495495
     
    29952995
    29962996    if ( ! taxonomy_exists( $taxonomy ) ) {
    2997         return new WP_Error( 'invalid_taxonomy', __( 'Invalid Taxonomy' ) );
     2997        return new WP_Error( 'invalid_taxonomy', __( 'Invalid taxonomy' ) );
    29982998    }
    29992999
Note: See TracChangeset for help on using the changeset viewer.