diff --git a/lib/compat/wordpress-6.4/theme-previews.php b/lib/compat/wordpress-6.4/theme-previews.php
new file mode 100644
index 0000000000000..5755fc992921d
--- /dev/null
+++ b/lib/compat/wordpress-6.4/theme-previews.php
@@ -0,0 +1,27 @@
+ {
+ const { dashboardLink, dashboardLinkText } = useSelect( ( select ) => {
const { getSettings } = unlock( select( editSiteStore ) );
return {
dashboardLink: getSettings().__experimentalDashboardLink,
+ dashboardLinkText: getSettings().__experimentalDashboardLinkText,
};
}, [] );
const { getTheme } = useSelect( coreStore );
@@ -92,15 +93,9 @@ export default function SidebarNavigationScreen( {
) }