Make WordPress Core


Ignore:
Timestamp:
04/11/2015 09:39:36 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Explain all placeholders in translator comment, not just the first one.

see [32110], #31675.

File:
1 edited

Legend:

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

    r32110 r32111  
    820820
    821821    if ( $id_is_empty ) {
    822         /* translators: %1$s: the id argument */
    823         _doing_it_wrong( __FUNCTION__, sprintf( __( 'No %1$s was set in the arguments array for the "%2$s" sidebar. Defaulting to "%3$s". Manually set the %1$s to  "%3$s" to silence this notice and keep existing sidebar content.' ), '<code>id</code>', $sidebar['name'], $sidebar['id'] ), '4.2.0' );
     822        /* translators: %1$s: the id argument, %2$s: sidebar name, %3$s: recommended id value */
     823        _doing_it_wrong( __FUNCTION__, sprintf( __( 'No %1$s was set in the arguments array for the "%2$s" sidebar. Defaulting to "%3$s". Manually set the %1$s to "%3$s" to silence this notice and keep existing sidebar content.' ), '<code>id</code>', $sidebar['name'], $sidebar['id'] ), '4.2.0' );
    824824    }
    825825
Note: See TracChangeset for help on using the changeset viewer.