Make WordPress Core

Changeset 60075


Ignore:
Timestamp:
03/25/2025 01:45:56 AM (3 weeks ago)
Author:
peterwilsoncc
Message:

Editor: Tidy up _doing_it_wrong() call in wp_unique_id_from_values().

Adds a translator note not to translate the parameter name $data and removes an unused sprintf() that doesn't contain any placeholders.

Props peterwilsoncc, joemcgill.
Fixes #62985.

File:
1 edited

Legend:

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

    r60049 r60075  
    91949194        _doing_it_wrong(
    91959195            __FUNCTION__,
    9196             sprintf(
    9197                 __( 'The $data argument must not be empty.' ),
    9198                 gettype( $data )
    9199             ),
     9196            // translators: $data` is the parameter name and must not be translated.
     9197            __( 'The $data argument must not be empty.' ),
    92009198            '6.8.0'
    92019199        );
Note: See TracChangeset for help on using the changeset viewer.