Skip to content

Commit

Permalink
Add deprecation TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lende committed Apr 10, 2023
1 parent 85b93dd commit b6f7783
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/class-wp-duotone-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ public static function migrate_experimental_duotone_support_flag( $settings, $me
* @return string The SVG for the filter definition.
*/
public static function get_filter_svg_from_preset( $preset ) {
// TODO: This function will be refactored out in a follow-up PR where it will be deprecated.
$filter_id = gutenberg_get_duotone_filter_id( $preset );
return self::get_filter_svg( $filter_id, $preset['colors'] );
}
Expand Down

0 comments on commit b6f7783

Please sign in to comment.