diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index 7885f27b42..d87d3c5c01 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -3325,7 +3325,7 @@ class WP_Theme_JSON { continue; } foreach ( $duotone_presets[ $origin ] as $duotone_preset ) { - $filters .= wp_get_duotone_filter_svg( $duotone_preset ); + $filters .= WP_Duotone::get_filter_svg_from_preset( $duotone_preset ); } } } diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 121a070656..348267b6a5 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -5190,7 +5190,7 @@ function wp_get_duotone_filter_property( $preset ) { * Returns the duotone filter SVG string for the preset. * * @since 5.9.1 - * @deprecated 6.3.0 + * @deprecated 6.3.0 Use WP_Duotone::get_filter_svg_from_preset() instead. * * @access private * @@ -5198,7 +5198,7 @@ function wp_get_duotone_filter_property( $preset ) { * @return string Duotone SVG filter. */ function wp_get_duotone_filter_svg( $preset ) { - _deprecated_function( __FUNCTION__, '6.3.0' ); + _deprecated_function( __FUNCTION__, '6.3.0', 'WP_Duotone::get_filter_svg_from_preset()' ); return WP_Duotone::get_filter_svg_from_preset( $preset ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 59ec9d9a63..610c659390 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59454'; +$wp_version = '6.8-alpha-59455'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.