diff --git a/packages/block-library/src/paragraph/test/edit.native.js b/packages/block-library/src/paragraph/test/edit.native.js index df18654c1915dc..d7ba5a5f7db453 100644 --- a/packages/block-library/src/paragraph/test/edit.native.js +++ b/packages/block-library/src/paragraph/test/edit.native.js @@ -42,7 +42,7 @@ jest.mock( '@wordpress/compose/src/utils/debounce', () => ( { // Mock link suggestions that are fetched by the link picker // when typing a search query. jest.mock( '@wordpress/core-data/src/fetch', () => ( { - __experimentalFetchLinkSuggestions: jest.fn().mockResolvedValue( [ {} ] ), + fetchLinkSuggestions: jest.fn().mockResolvedValue( [ {} ] ), } ) ); setupCoreBlocks(); diff --git a/packages/components/src/mobile/link-settings/test/edit.native.js b/packages/components/src/mobile/link-settings/test/edit.native.js index 715a4478207453..7e3eab53978c24 100644 --- a/packages/components/src/mobile/link-settings/test/edit.native.js +++ b/packages/components/src/mobile/link-settings/test/edit.native.js @@ -26,7 +26,7 @@ jest.mock( '@wordpress/compose/src/utils/debounce', () => ( { // Mock link suggestions that are fetched by the link picker // when typing a search query. jest.mock( '@wordpress/core-data/src/fetch', () => ( { - __experimentalFetchLinkSuggestions: jest.fn().mockResolvedValue( [ {} ] ), + fetchLinkSuggestions: jest.fn().mockResolvedValue( [ {} ] ), } ) ); /** diff --git a/packages/core-data/src/fetch/fetch-link-suggestions.ts b/packages/core-data/src/fetch/fetch-link-suggestions.ts index 03f127474f45fd..bcef5b7758ae1f 100644 --- a/packages/core-data/src/fetch/fetch-link-suggestions.ts +++ b/packages/core-data/src/fetch/fetch-link-suggestions.ts @@ -93,7 +93,7 @@ export type SearchResult = { * * @example * ```js - * import { __experimentalFetchLinkSuggestions as fetchLinkSuggestions } from '@wordpress/core-data'; + * import { fetchLinkSuggestions } from '@wordpress/core-data'; * * //... * diff --git a/packages/edit-widgets/src/index.js b/packages/edit-widgets/src/index.js index f8247d733f1a15..f4adb244f7e5a3 100644 --- a/packages/edit-widgets/src/index.js +++ b/packages/edit-widgets/src/index.js @@ -15,7 +15,7 @@ import { __experimentalGetCoreBlocks, __experimentalRegisterExperimentalCoreBlocks, } from '@wordpress/block-library'; -import { __experimentalFetchLinkSuggestions as fetchLinkSuggestions } from '@wordpress/core-data'; +import { fetchLinkSuggestions } from '@wordpress/core-data'; import { registerLegacyWidgetBlock, registerLegacyWidgetVariations, diff --git a/packages/editor/src/components/provider/use-block-editor-settings.js b/packages/editor/src/components/provider/use-block-editor-settings.js index 2917c6905e3f0d..6af9b768bdd1bc 100644 --- a/packages/editor/src/components/provider/use-block-editor-settings.js +++ b/packages/editor/src/components/provider/use-block-editor-settings.js @@ -5,7 +5,7 @@ import { useMemo, useCallback } from '@wordpress/element'; import { useDispatch, useSelect } from '@wordpress/data'; import { store as coreStore, - __experimentalFetchLinkSuggestions as fetchLinkSuggestions, + fetchLinkSuggestions, __experimentalFetchUrlData as fetchUrlData, } from '@wordpress/core-data'; import { __ } from '@wordpress/i18n';