Make WordPress Core


Ignore:
Timestamp:
11/05/2015 08:55:28 PM (8 years ago)
Author:
DrewAPicture
Message:

I18N: Add translator comments to three _doing_it_wrong() messages added for 4.3 and 4.4.

Also adds a full-stop to an invalid taxonomy message introduced in [34745] and later modified in [35428] for wp_insert_post().

Props pavelevap.
Fixes #34249.

File:
1 edited

Legend:

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

    r35510 r35542  
    32363236            $taxonomy_obj = get_taxonomy($taxonomy);
    32373237            if ( ! $taxonomy_obj ) {
    3238                 _doing_it_wrong( __FUNCTION__, sprintf( __( 'Invalid taxonomy: %s' ), $taxonomy ), '4.4.0' );
     3238                /* translators: 1: taxonomy name */
     3239                _doing_it_wrong( __FUNCTION__, sprintf( __( 'Invalid taxonomy: %s.' ), $taxonomy ), '4.4.0' );
    32393240                continue;
    32403241            }
Note: See TracChangeset for help on using the changeset viewer.