Deprecated prop on Tour Kit #93167
Labels
Needs triage
Ticket needs to be triaged
[Pri] Low
Address when resources are available.
[Type] Bug
When a feature is broken and / or not performing as intended
Quick summary
Tour Kit uses the
Card
component from Gutenberg, and it uses theisElevated
prop. When using it, it gives a warning that the prop is deprecated since WordPress 5.9 and we should useelevation
instead.Steps to reproduce
In a dev environment with the latest version of WordPress, use the
WpcomTourKit
component and run it in the browser.To avoid writing code to test it, you can test it by installing Sensei LMS plugin (where it was originally noticed), and creating a course through WP Admin > Courses > New Course.
What you expected to happen
Don't see a deprecation warning.
What actually happened
The following warning is displayed in the browser console:
Impact
One
Available workarounds?
There is no user impact
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered: