Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (5 years ago)
Author:
SergeyBiryukov
Message:

I18N: Capitalize translator comments consistently, add trailing punctuation.

Includes minor code layout fixes.

See #44360.

File:
1 edited

Legend:

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

    r45772 r45932  
    100100function get_wp_title_rss( $deprecated = '–' ) {
    101101    if ( '–' !== $deprecated ) {
    102         /* translators: %s: 'document_title_separator' filter name */
     102        /* translators: %s: 'document_title_separator' filter name. */
    103103        _deprecated_argument( __FUNCTION__, '4.4.0', sprintf( __( 'Use the %s filter instead.' ), '<code>document_title_separator</code>' ) );
    104104    }
     
    126126function wp_title_rss( $deprecated = '&#8211;' ) {
    127127    if ( '&#8211;' !== $deprecated ) {
    128         /* translators: %s: 'document_title_separator' filter name */
     128        /* translators: %s: 'document_title_separator' filter name. */
    129129        _deprecated_argument( __FUNCTION__, '4.4.0', sprintf( __( 'Use the %s filter instead.' ), '<code>document_title_separator</code>' ) );
    130130    }
Note: See TracChangeset for help on using the changeset viewer.