Skip to content

Site Editor: Fix obsolete getLocationWithParams usage #68388

New issue

Have a question about this project? Sign up for a free account to open an issue and contact its maintainers and the community.

By clicking “Sign up for ”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on ? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

tyxla
Copy link
Member

@tyxla tyxla commented Dec 30, 2024

What?

Fixing two instances of history.getLocationWithParams() that were causing errors.

Reported in #67199 (comment) and #68367.

Fixes #68367.

Why?

In #67199 we got rid of useHistory()'s getLocationWithParams() method. However, we forgot to update a couple of instances.

How?

We're using useLocation() to retrieve query arguments.

Testing Instructions

  • Go to Site Editor > Patterns
  • Import a pattern from a json file
  • Verify it works well and you no longer get an error.
  • Verify you can still delete custom DataViews views.

Testing Instructions for Keyboard

Same

Screenshots or screencast

The error that was appearing in the snackbar notice:
399210539-2bc82b09-1dba-43ce-8f43-e3595976440e

@tyxlatyxla added [Type] BugAn existing feature does not function as intended[Priority] HighUsed to indicate top priority items that need quick attention[Package] Edit Site/packages/edit-sitelabels Dec 30, 2024
@tyxlatyxla requested a review from a team December 30, 2024 11:35
@tyxlatyxla self-assigned this Dec 30, 2024
@tyxlatyxla requested review from mcsf and luisherranz and removed request for a team December 30, 2024 11:35
@github-actionsGitHub Actions
Copy link

-actions bot commented Dec 30, 2024

Size Change: -4 B (0%)

Total Size: 1.84 MB

FilenameSizeChange
build/edit-site/index.min.js221 kB-4 B (0%)
ℹ️ View Unchanged
FilenameSize
build-module/a11y/index.min.js482 B
build-module/block-library/file/view.min.js447 B
build-module/block-library/form/view.min.js533 B
build-module/block-library/image/view.min.js1.77 kB
build-module/block-library/navigation/view.min.js1.16 kB
build-module/block-library/query/view.min.js742 B
build-module/block-library/search/view.min.js616 B
build-module/interactivity-router/index.min.js2.55 kB
build-module/interactivity/debug.min.js17.3 kB
build-module/interactivity/index.min.js13.7 kB
build/a11y/index.min.js952 B
build/annotations/index.min.js2.26 kB
build/api-fetch/index.min.js2.32 kB
build/autop/index.min.js2.12 kB
build/blob/index.min.js579 B
build/block-directory/index.min.js7.26 kB
build/block-directory/style-rtl.css1 kB
build/block-directory/style.css1 kB
build/block-editor/content-rtl.css4.47 kB
build/block-editor/content.css4.46 kB
build/block-editor/default-editor-styles-rtl.css394 B
build/block-editor/default-editor-styles.css394 B
build/block-editor/index.min.js260 kB
build/block-editor/style-rtl.css15.8 kB
build/block-editor/style.css15.8 kB
build/block-library/blocks/archives/editor-rtl.css84 B
build/block-library/blocks/archives/editor.css83 B
build/block-library/blocks/archives/style-rtl.css90 B
build/block-library/blocks/archives/style.css90 B
build/block-library/blocks/audio/editor-rtl.css149 B
build/block-library/blocks/audio/editor.css151 B
build/block-library/blocks/audio/style-rtl.css132 B
build/block-library/blocks/audio/style.css132 B
build/block-library/blocks/audio/theme-rtl.css134 B
build/block-library/blocks/audio/theme.css134 B
build/block-library/blocks/avatar/editor-rtl.css115 B
build/block-library/blocks/avatar/editor.css115 B
build/block-library/blocks/avatar/style-rtl.css104 B
build/block-library/blocks/avatar/style.css104 B
build/block-library/blocks/button/editor-rtl.css265 B
build/block-library/blocks/button/editor.css265 B
build/block-library/blocks/button/style-rtl.css555 B
build/block-library/blocks/button/style.css555 B
build/block-library/blocks/buttons/editor-rtl.css291 B
build/block-library/blocks/buttons/editor.css291 B
build/block-library/blocks/buttons/style-rtl.css345 B
build/block-library/blocks/buttons/style.css345 B
build/block-library/blocks/calendar/style-rtl.css240 B
build/block-library/blocks/calendar/style.css240 B
build/block-library/blocks/categories/editor-rtl.css132 B
build/block-library/blocks/categories/editor.css131 B
build/block-library/blocks/categories/style-rtl.css152 B
build/block-library/blocks/categories/style.css152 B
build/block-library/blocks/code/editor-rtl.css53 B
build/block-library/blocks/code/editor.css53 B
build/block-library/blocks/code/style-rtl.css139 B
build/block-library/blocks/code/style.css139 B
build/block-library/blocks/code/theme-rtl.css122 B
build/block-library/blocks/code/theme.css122 B
build/block-library/blocks/columns/editor-rtl.css108 B
build/block-library/blocks/columns/editor.css108 B
build/block-library/blocks/columns/style-rtl.css420 B
build/block-library/blocks/columns/style.css420 B
build/block-library/blocks/comment-author-avatar/editor-rtl.css124 B
build/block-library/blocks/comment-author-avatar/editor.css124 B
build/block-library/blocks/comment-author-name/style-rtl.css72 B
build/block-library/blocks/comment-author-name/style.css72 B
build/block-library/blocks/comment-content/style-rtl.css120 B
build/block-library/blocks/comment-content/style.css120 B
build/block-library/blocks/comment-date/style-rtl.css65 B
build/block-library/blocks/comment-date/style.css65 B
build/block-library/blocks/comment-edit-link/style-rtl.css70 B
build/block-library/blocks/comment-edit-link/style.css70 B
build/block-library/blocks/comment-reply-link/style-rtl.css71 B
build/block-library/blocks/comment-reply-link/style.css71 B
build/block-library/blocks/comment-template/style-rtl.css191 B
build/block-library/blocks/comment-template/style.css191 B
build/block-library/blocks/comments-pagination-numbers/editor-rtl.css122 B
build/block-library/blocks/comments-pagination-numbers/editor.css121 B
build/block-library/blocks/comments-pagination/editor-rtl.css238 B
build/block-library/blocks/comments-pagination/editor.css231 B
build/block-library/blocks/comments-pagination/style-rtl.css245 B
build/block-library/blocks/comments-pagination/style.css241 B
build/block-library/blocks/comments-title/editor-rtl.css75 B
build/block-library/blocks/comments-title/editor.css75 B
build/block-library/blocks/comments/editor-rtl.css842 B
build/block-library/blocks/comments/editor.css842 B
build/block-library/blocks/comments/style-rtl.css637 B
build/block-library/blocks/comments/style.css637 B
build/block-library/blocks/cover/editor-rtl.css631 B
build/block-library/blocks/cover/editor.css631 B
build/block-library/blocks/cover/style-rtl.css1.7 kB
build/block-library/blocks/cover/style.css1.69 kB
build/block-library/blocks/details/editor-rtl.css65 B
build/block-library/blocks/details/editor.css65 B
build/block-library/blocks/details/style-rtl.css86 B
build/block-library/blocks/details/style.css86 B
build/block-library/blocks/embed/editor-rtl.css331 B
build/block-library/blocks/embed/editor.css331 B
build/block-library/blocks/embed/style-rtl.css419 B
build/block-library/blocks/embed/style.css419 B
build/block-library/blocks/embed/theme-rtl.css133 B
build/block-library/blocks/embed/theme.css133 B
build/block-library/blocks/file/editor-rtl.css326 B
build/block-library/blocks/file/editor.css326 B
build/block-library/blocks/file/style-rtl.css278 B
build/block-library/blocks/file/style.css279 B
build/block-library/blocks/footnotes/style-rtl.css198 B
build/block-library/blocks/footnotes/style.css197 B
build/block-library/blocks/form-input/editor-rtl.css229 B
build/block-library/blocks/form-input/editor.css229 B
build/block-library/blocks/form-input/style-rtl.css349 B
build/block-library/blocks/form-input/style.css349 B
build/block-library/blocks/form-submission-notification/editor-rtl.css344 B
build/block-library/blocks/form-submission-notification/editor.css341 B
build/block-library/blocks/form-submit-button/style-rtl.css69 B
build/block-library/blocks/form-submit-button/style.css69 B
build/block-library/blocks/freeform/editor-rtl.css2.6 kB
build/block-library/blocks/freeform/editor.css2.6 kB
build/block-library/blocks/gallery/editor-rtl.css946 B
build/block-library/blocks/gallery/editor.css951 B
build/block-library/blocks/gallery/style-rtl.css1.83 kB
build/block-library/blocks/gallery/style.css1.82 kB
build/block-library/blocks/gallery/theme-rtl.css108 B
build/block-library/blocks/gallery/theme.css108 B
build/block-library/blocks/group/editor-rtl.css334 B
build/block-library/blocks/group/editor.css334 B
build/block-library/blocks/group/style-rtl.css103 B
build/block-library/blocks/group/style.css103 B
build/block-library/blocks/group/theme-rtl.css79 B
build/block-library/blocks/group/theme.css79 B
build/block-library/blocks/heading/style-rtl.css188 B
build/block-library/blocks/heading/style.css188 B
build/block-library/blocks/html/editor-rtl.css346 B
build/block-library/blocks/html/editor.css347 B
build/block-library/blocks/image/editor-rtl.css799 B
build/block-library/blocks/image/editor.css799 B
build/block-library/blocks/image/style-rtl.css1.6 kB
build/block-library/blocks/image/style.css1.59 kB
build/block-library/blocks/image/theme-rtl.css137 B
build/block-library/blocks/image/theme.css137 B
build/block-library/blocks/latest-comments/style-rtl.css355 B
build/block-library/blocks/latest-comments/style.css354 B
build/block-library/blocks/latest-posts/editor-rtl.css139 B
build/block-library/blocks/latest-posts/editor.css138 B
build/block-library/blocks/latest-posts/style-rtl.css520 B
build/block-library/blocks/latest-posts/style.css520 B
build/block-library/blocks/list/style-rtl.css107 B
build/block-library/blocks/list/style.css107 B
build/block-library/blocks/loginout/style-rtl.css61 B
build/block-library/blocks/loginout/style.css61 B
build/block-library/blocks/media-text/editor-rtl.css321 B
build/block-library/blocks/media-text/editor.css320 B
build/block-library/blocks/media-text/style-rtl.css552 B
build/block-library/blocks/media-text/style.css550 B
build/block-library/blocks/more/editor-rtl.css427 B
build/block-library/blocks/more/editor.css427 B
build/block-library/blocks/navigation-link/editor-rtl.css644 B
build/block-library/blocks/navigation-link/editor.css645 B
build/block-library/blocks/navigation-link/style-rtl.css192 B
build/block-library/blocks/navigation-link/style.css191 B
build/block-library/blocks/navigation-submenu/editor-rtl.css295 B
build/block-library/blocks/navigation-submenu/editor.css294 B
build/block-library/blocks/navigation/editor-rtl.css2.2 kB
build/block-library/blocks/navigation/editor.css2.2 kB
build/block-library/blocks/navigation/style-rtl.css2.24 kB
build/block-library/blocks/navigation/style.css2.23 kB
build/block-library/blocks/nextpage/editor-rtl.css392 B
build/block-library/blocks/nextpage/editor.css392 B
build/block-library/blocks/page-list/editor-rtl.css378 B
build/block-library/blocks/page-list/editor.css378 B
build/block-library/blocks/page-list/style-rtl.css192 B
build/block-library/blocks/page-list/style.css192 B
build/block-library/blocks/paragraph/editor-rtl.css236 B
build/block-library/blocks/paragraph/editor.css236 B
build/block-library/blocks/paragraph/style-rtl.css341 B
build/block-library/blocks/paragraph/style.css340 B
build/block-library/blocks/post-author-biography/style-rtl.css74 B
build/block-library/blocks/post-author-biography/style.css74 B
build/block-library/blocks/post-author-name/style-rtl.css69 B
build/block-library/blocks/post-author-name/style.css69 B
build/block-library/blocks/post-author/editor-rtl.css107 B
build/block-library/blocks/post-author/editor.css107 B
build/block-library/blocks/post-author/style-rtl.css188 B
build/block-library/blocks/post-author/style.css189 B
build/block-library/blocks/post-comments-form/editor-rtl.css96 B
build/block-library/blocks/post-comments-form/editor.css96 B
build/block-library/blocks/post-comments-form/style-rtl.css527 B
build/block-library/blocks/post-comments-form/style.css528 B
build/block-library/blocks/post-content/style-rtl.css61 B
build/block-library/blocks/post-content/style.css61 B
build/block-library/blocks/post-date/style-rtl.css62 B
build/block-library/blocks/post-date/style.css62 B
build/block-library/blocks/post-excerpt/editor-rtl.css71 B
build/block-library/blocks/post-excerpt/editor.css71 B
build/block-library/blocks/post-excerpt/style-rtl.css155 B
build/block-library/blocks/post-excerpt/style.css155 B
build/block-library/blocks/post-featured-image/editor-rtl.css729 B
build/block-library/blocks/post-featured-image/editor.css726 B
build/block-library/blocks/post-featured-image/style-rtl.css347 B
build/block-library/blocks/post-featured-image/style.css347 B
build/block-library/blocks/post-navigation-link/style-rtl.css215 B
build/block-library/blocks/post-navigation-link/style.css214 B
build/block-library/blocks/post-template/style-rtl.css414 B
build/block-library/blocks/post-template/style.css414 B
build/block-library/blocks/post-terms/style-rtl.css96 B
build/block-library/blocks/post-terms/style.css96 B
build/block-library/blocks/post-time-to-read/style-rtl.css70 B
build/block-library/blocks/post-time-to-read/style.css70 B
build/block-library/blocks/post-title/style-rtl.css162 B
build/block-library/blocks/post-title/style.css162 B
build/block-library/blocks/preformatted/style-rtl.css125 B
build/block-library/blocks/preformatted/style.css125 B
build/block-library/blocks/pullquote/editor-rtl.css134 B
build/block-library/blocks/pullquote/editor.css134 B
build/block-library/blocks/pullquote/style-rtl.css351 B
build/block-library/blocks/pullquote/style.css350 B
build/block-library/blocks/pullquote/theme-rtl.css167 B
build/block-library/blocks/pullquote/theme.css167 B
build/block-library/blocks/query-pagination-numbers/editor-rtl.css121 B
build/block-library/blocks/query-pagination-numbers/editor.css118 B
build/block-library/blocks/query-pagination/editor-rtl.css154 B
build/block-library/blocks/query-pagination/editor.css154 B
build/block-library/blocks/query-pagination/style-rtl.css237 B
build/block-library/blocks/query-pagination/style.css237 B
build/block-library/blocks/query-title/style-rtl.css64 B
build/block-library/blocks/query-title/style.css64 B
build/block-library/blocks/query-total/style-rtl.css64 B
build/block-library/blocks/query-total/style.css64 B
build/block-library/blocks/query/editor-rtl.css527 B
build/block-library/blocks/query/editor.css527 B
build/block-library/blocks/quote/style-rtl.css238 B
build/block-library/blocks/quote/style.css238 B
build/block-library/blocks/quote/theme-rtl.css233 B
build/block-library/blocks/quote/theme.css236 B
build/block-library/blocks/read-more/style-rtl.css131 B
build/block-library/blocks/read-more/style.css131 B
build/block-library/blocks/rss/editor-rtl.css101 B
build/block-library/blocks/rss/editor.css101 B
build/block-library/blocks/rss/style-rtl.css288 B
build/block-library/blocks/rss/style.css287 B
build/block-library/blocks/search/editor-rtl.css199 B
build/block-library/blocks/search/editor.css199 B
build/block-library/blocks/search/style-rtl.css660 B
build/block-library/blocks/search/style.css658 B
build/block-library/blocks/search/theme-rtl.css113 B
build/block-library/blocks/search/theme.css113 B
build/block-library/blocks/separator/editor-rtl.css100 B
build/block-library/blocks/separator/editor.css100 B
build/block-library/blocks/separator/style-rtl.css248 B
build/block-library/blocks/separator/style.css248 B
build/block-library/blocks/separator/theme-rtl.css195 B
build/block-library/blocks/separator/theme.css195 B
build/block-library/blocks/shortcode/editor-rtl.css286 B
build/block-library/blocks/shortcode/editor.css286 B
build/block-library/blocks/site-logo/editor-rtl.css806 B
build/block-library/blocks/site-logo/editor.css803 B
build/block-library/blocks/site-logo/style-rtl.css218 B
build/block-library/blocks/site-logo/style.css218 B
build/block-library/blocks/site-tagline/editor-rtl.css87 B
build/block-library/blocks/site-tagline/editor.css87 B
build/block-library/blocks/site-tagline/style-rtl.css65 B
build/block-library/blocks/site-tagline/style.css65 B
build/block-library/blocks/site-title/editor-rtl.css85 B
build/block-library/blocks/site-title/editor.css85 B
build/block-library/blocks/site-title/style-rtl.css143 B
build/block-library/blocks/site-title/style.css143 B
build/block-library/blocks/social-link/editor-rtl.css309 B
build/block-library/blocks/social-link/editor.css309 B
build/block-library/blocks/social-links/editor-rtl.css727 B
build/block-library/blocks/social-links/editor.css724 B
build/block-library/blocks/social-links/style-rtl.css1.51 kB
build/block-library/blocks/social-links/style.css1.51 kB
build/block-library/blocks/spacer/editor-rtl.css346 B
build/block-library/blocks/spacer/editor.css346 B
build/block-library/blocks/spacer/style-rtl.css48 B
build/block-library/blocks/spacer/style.css48 B
build/block-library/blocks/table-of-contents/style-rtl.css83 B
build/block-library/blocks/table-of-contents/style.css83 B
build/block-library/blocks/table/editor-rtl.css394 B
build/block-library/blocks/table/editor.css394 B
build/block-library/blocks/table/style-rtl.css640 B
build/block-library/blocks/table/style.css639 B
build/block-library/blocks/table/theme-rtl.css152 B
build/block-library/blocks/table/theme.css152 B
build/block-library/blocks/tag-cloud/editor-rtl.css92 B
build/block-library/blocks/tag-cloud/editor.css92 B
build/block-library/blocks/tag-cloud/style-rtl.css266 B
build/block-library/blocks/tag-cloud/style.css265 B
build/block-library/blocks/template-part/editor-rtl.css368 B
build/block-library/blocks/template-part/editor.css368 B
build/block-library/blocks/template-part/theme-rtl.css113 B
build/block-library/blocks/template-part/theme.css113 B
build/block-library/blocks/term-description/style-rtl.css126 B
build/block-library/blocks/term-description/style.css126 B
build/block-library/blocks/text-columns/editor-rtl.css95 B
build/block-library/blocks/text-columns/editor.css95 B
build/block-library/blocks/text-columns/style-rtl.css165 B
build/block-library/blocks/text-columns/style.css165 B
build/block-library/blocks/verse/style-rtl.css98 B
build/block-library/blocks/verse/style.css98 B
build/block-library/blocks/video/editor-rtl.css441 B
build/block-library/blocks/video/editor.css442 B
build/block-library/blocks/video/style-rtl.css192 B
build/block-library/blocks/video/style.css192 B
build/block-library/blocks/video/theme-rtl.css134 B
build/block-library/blocks/video/theme.css134 B
build/block-library/classic-rtl.css179 B
build/block-library/classic.css179 B
build/block-library/common-rtl.css1.08 kB
build/block-library/common.css1.08 kB
build/block-library/editor-elements-rtl.css75 B
build/block-library/editor-elements.css75 B
build/block-library/editor-rtl.css11.7 kB
build/block-library/editor.css11.7 kB
build/block-library/elements-rtl.css54 B
build/block-library/elements.css54 B
build/block-library/index.min.js224 kB
build/block-library/reset-rtl.css472 B
build/block-library/reset.css472 B
build/block-library/style-rtl.css15 kB
build/block-library/style.css15 kB
build/block-library/theme-rtl.css708 B
build/block-library/theme.css712 B
build/block-serialization-default-parser/index.min.js1.12 kB
build/block-serialization-spec-parser/index.min.js2.87 kB
build/blocks/index.min.js52.6 kB
build/commands/index.min.js16.2 kB
build/commands/style-rtl.css955 B
build/commands/style.css952 B
build/components/index.min.js229 kB
build/components/style-rtl.css12.5 kB
build/components/style.css12.5 kB
build/compose/index.min.js12.8 kB
build/core-commands/index.min.js3.09 kB
build/core-data/index.min.js74.3 kB
build/customize-widgets/index.min.js11 kB
build/customize-widgets/style-rtl.css1.44 kB
build/customize-widgets/style.css1.44 kB
build/data-controls/index.min.js641 B
build/data/index.min.js8.69 kB
build/date/index.min.js18 kB
build/deprecated/index.min.js458 B
build/dom-ready/index.min.js325 B
build/dom/index.min.js4.67 kB
build/edit-post/classic-rtl.css578 B
build/edit-post/classic.css580 B
build/edit-post/index.min.js13.4 kB
build/edit-post/style-rtl.css2.75 kB
build/edit-post/style.css2.75 kB
build/edit-site/posts-rtl.css7.45 kB
build/edit-site/posts.css7.45 kB
build/edit-site/style-rtl.css13.6 kB
build/edit-site/style.css13.6 kB
build/edit-widgets/index.min.js17.6 kB
build/edit-widgets/style-rtl.css4.07 kB
build/edit-widgets/style.css4.08 kB
build/editor/index.min.js115 kB
build/editor/style-rtl.css9.29 kB
build/editor/style.css9.29 kB
build/element/index.min.js4.82 kB
build/escape-html/index.min.js537 B
build/format-library/index.min.js8.05 kB
build/format-library/style-rtl.css476 B
build/format-library/style.css476 B
build/hooks/index.min.js1.65 kB
build/html-entities/index.min.js445 B
build/i18n/index.min.js3.58 kB
build/is-shallow-equal/index.min.js526 B
build/keyboard-shortcuts/index.min.js1.31 kB
build/keycodes/index.min.js1.46 kB
build/list-reusable-blocks/index.min.js2.13 kB
build/list-reusable-blocks/style-rtl.css852 B
build/list-reusable-blocks/style.css852 B
build/media-utils/index.min.js3.61 kB
build/notices/index.min.js946 B
build/nux/index.min.js1.62 kB
build/nux/style-rtl.css749 B
build/nux/style.css745 B
build/patterns/index.min.js7.37 kB
build/patterns/style-rtl.css687 B
build/patterns/style.css685 B
build/plugins/index.min.js1.86 kB
build/preferences-persistence/index.min.js2.06 kB
build/preferences/index.min.js2.9 kB
build/preferences/style-rtl.css554 B
build/preferences/style.css554 B
build/primitives/index.min.js829 B
build/priority-queue/index.min.js1.54 kB
build/private-apis/index.min.js978 B
build/react-i18n/index.min.js630 B
build/react-refresh-entry/index.min.js9.47 kB
build/react-refresh-runtime/index.min.js6.76 kB
build/redux-routine/index.min.js2.7 kB
build/reusable-blocks/index.min.js2.55 kB
build/reusable-blocks/style-rtl.css256 B
build/reusable-blocks/style.css256 B
build/rich-text/index.min.js10.3 kB
build/router/index.min.js5.42 kB
build/server-side-render/index.min.js1.94 kB
build/shortcode/index.min.js1.4 kB
build/style-engine/index.min.js2.04 kB
build/token-list/index.min.js581 B
build/upload-media/index.min.js3.85 kB
build/url/index.min.js3.9 kB
build/vendors/react-dom.min.js41.7 kB
build/vendors/react-jsx-runtime.min.js556 B
build/vendors/react.min.js4.02 kB
build/viewport/index.min.js965 B
build/vips/index.min.js36.2 kB
build/warning/index.min.js250 B
build/widgets/index.min.js7.16 kB
build/widgets/style-rtl.css1.16 kB
build/widgets/style.css1.16 kB
build/wordcount/index.min.js1.03 kB

compressed-size-action

@github-actionsGitHub Actions
Copy link

-actions bot commented Dec 30, 2024

Flaky tests detected in 4bb1d08.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://.com/WordPress/gutenberg/actions/runs/12545991771
📝 Reported issues:

Copy link
Member

@ramonjd ramonjd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BeforeAfter
Screenshot 2024-12-31 at 10 44 54 amScreenshot 2024-12-31 at 10 45 48 am

👍🏻

Thanks for the fix!

@github-actionsGitHub Actions
Copy link

-actions bot commented Dec 30, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their and WordPress.org accounts: @JungleGenius.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on , copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: JungleGenius.

Co-authored-by: tyxla <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: himanshupathak95 <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@ramonjdramonjd merged commit 3c716cf into trunk Dec 30, 2024
77 checks passed
@ramonjdramonjd deleted the fix/get-location-with-params-usage branch December 30, 2024 23:48
@github-actions-actions bot added this to the Gutenberg 20.0 milestone Dec 30, 2024
@ramonjd
Copy link
Member

I think Gutenberg 20 has been delayed a week, but an RC will be cut this week (?) If that's not the case, maybe worth a point release?

@JungleGenius
Copy link

Hi Folks @ramonjd @tyxla @himanshupathak95,

Thanks you for the swift response and bug fix. I was trying to get a landing/order page up over the Holliday when I ran headlong into this bug.

I am really impressed with your team's actions once I got the bug got on your radar. (The front line Wordpress.COM user support was lacking, but it look like the dev team is really on the ball response wise).

Normally I would just create a pull request for the bug fix like I did for the Groundhog plug-in over here, but I'm not currently setup for WordPress core development (I mostly do Laravel and CodeIgniter).

The theme/plug-in editor won't let me view or debug the core files so I was kind of stuck. I ended up pasting the JSON into the pages manually to work around this, but it was buggy because the block editor needs to "resolve" the pasted json code.

I think you are going to need a dot release to get this into Wordpress.COM in the short term.

Thanks everyone. Great work.

-Daniel

@tyxla
Copy link
Member Author

tyxla commented Jan 2, 2025

Thank you @JungleGenius!

Once a new version of Gutenberg is released (which I believe should be in a week from now), folks have historically tried to quickly release it to WP.com, at which point the fix should be in place there.

Gulamdastgir-Momin pushed a commit to Gulamdastgir-Momin/gutenberg that referenced this pull request Jan 23, 2025
)

Unlinked contributors: JungleGenius.

Co-authored-by: tyxla <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: himanshupathak95 <[email protected]>
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Labels
[Package] Edit Site/packages/edit-site[Priority] HighUsed to indicate top priority items that need quick attention[Type] BugAn existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pattern json import and export has stopped working on Wordpress.COM
3 participants