Make WordPress Core

Changeset 60085


Ignore:
Timestamp:
03/25/2025 02:29:38 PM (4 weeks ago)
Author:
audrasjb
Message:

Coding Standards: Use sprintf() for correct i18n in wp_unique_id_from_values().

Follow-up to [60075], [60079].

Fixes #62985.

File:
1 edited

Legend:

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

    r60079 r60085  
    91949194        _doing_it_wrong(
    91959195            __FUNCTION__,
    9196             // translators: '$data' is the parameter name and must not be translated.
    9197             __( 'The $data argument must not be empty.' ),
     9196            sprintf(
     9197                /* translators: %s: parameter name. */
     9198                __( 'The %s argument must not be empty.' ),
     9199                '$data'
     9200            ),
    91989201            '6.8.0'
    91999202        );
Note: See TracChangeset for help on using the changeset viewer.