Changeset 57135 for trunk/src/wp-includes/class-wp-duotone.php
- Timestamp:
- 11/25/2023 09:17:28 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-duotone.php
r56991 r57135 674 674 if ( null === $color ) { 675 675 $error_message = sprintf( 676 /* translators: %s: duotone colors */ 677 __( '"%s" in theme.json settings.color.duotone is not a hex or rgb string.' ), 678 $color_str 676 /* translators: 1: Duotone colors, 2: theme.json, 3: settings.color.duotone */ 677 __( '"%1$s" in %2$s %3$s is not a hex or rgb string.' ), 678 $color_str, 679 'theme.json', 680 'settings.color.duotone' 679 681 ); 680 682 _doing_it_wrong( __METHOD__, $error_message, '6.3.0' ); … … 901 903 if ( ! array_key_exists( $filter_id, $global_styles_presets ) ) { 902 904 $error_message = sprintf( 903 /* translators: %s: duotone filter ID */ 904 __( 'The duotone id "%s" is not registered in theme.json settings' ), 905 $filter_id 905 /* translators: 1: Duotone filter ID, 2: theme.json */ 906 __( 'The duotone id "%1$s" is not registered in %2$s settings' ), 907 $filter_id, 908 'theme.json' 906 909 ); 907 910 _doing_it_wrong( __METHOD__, $error_message, '6.3.0' );
Note: See TracChangeset
for help on using the changeset viewer.