Skip to content

Core Data: Rank an exact title match first among tied link suggestions - #86327

Merged
Mamaduka merged 11 commits into
trunkfrom
fix/link-suggestions-title-share-tiebreak
Nov 10, 2026
Merged

Mamaduka merged 11 commits into
trunkfrom
fix/link-suggestions-title-share-tiebreak

Conversation

@jeryj

@jeryj jeryj commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

What?

Closes #86315

Within a result type, rank a title that is exactly the search first. Searching "Home" lists the page "Home" above "Home Improvement Tips", and searching "coffee beans" lists "Coffee Beans", "Coffee Beans." and "“Coffee Beans”" above "Coffee Beans, Lightly Roasted".

This builds on the approach in #86316. It compares words instead of the raw strings, so punctuation doesn't stop a title from counting as exact.

Why?

Since #83407, "Home" and "Home Improvement Tips" tie on every comparison: both hold the word searched, both are pages, both begin with "Home", and both have a coverage score of 10. A tie keeps the REST order, so the longer title can come first.

Only an exact title is clearly the better answer. A shorter title that isn't exact, like "Home Tips", isn't more relevant than "Home Improvement Tips". So this doesn't bring back the title-length scoring #83407 removed. It only separates the exact match, and since it runs after the type comparison, it can't move a result out of its type band.

How?

  • isExactTitle checks whether a title's words are the words searched, in order. sortResults compares it right after the type check, before begins. begins compares the raw strings, so a title that starts with punctuation, like "“Coffee Beans”", would otherwise lose to a longer title before exact is compared.
  • Tests:
    • The "News" test lists "News Flash News" first, so it fails on trunk instead of passing because of the tie, and expects both "News" titles above "News Flash News".
    • A new "coffee beans" test ranks "Coffee Beans", "Coffee Beans." and "“Coffee Beans”" above "Coffee Beans, Lightly Roasted".

Testing Instructions

  1. Create two pages, "Home" and "Home Improvement Tips" (create "Home" first so the REST order puts it second).
  2. Add a Navigation block, choose to add a link, and type "Home".
  3. The "Home" page is listed before "Home Improvement Tips".

Unit test: npm run test:unit -- packages/core-data/src/fetch/test/__experimental-fetch-link-suggestions.ts

Use of AI Tools

Claude Code wrote the tests and the fix from a proposed approach, and drafted this description.

🤖 Generated with Claude Code

jeryj and others added 2 commits November 4, 2026 12:32
The input listed "News" before "News Flash News", so the test passed only because the two tie and keep their input order. Listing "News Flash News" first exposes the tie, and the expected order puts both exact "News" titles above it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…arch accounts for

Since #83407, a title that is exactly the search and a longer title that begins with it get the same coverage score, so they keep their REST order. Add a final tiebreak after coverage: the share of the title's words that hold a search word. Type banding is unchanged, since the tiebreak only runs once every earlier comparison is equal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeryj
jeryj requested a review from Mamaduka as a code owner November 4, 2026 18:34
@jeryj jeryj added [Type] Bug An existing feature does not function as intended [Package] Core data /packages/core-data [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) labels Nov 4, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

Preview in WordPress Playground Preview in Storybook

🎉 Props

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

Co-authored-by: jeryj <jeryj@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: mikachan <mikachan@git.wordpress.org>
Co-authored-by: courtneyr-dev <courane01@git.wordpress.org>

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


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

Updated as activity occurs, without notifying anyone named here. Add the props-bot label to refresh.

📦 Bundle size

Size Change: +45 B (0%)

Total Size: 8.63 MB

📦 View Changed
Filename Size Change
build/scripts/core-data/index.min.js 76.7 kB +45 B (+0.06%)

7351c38 Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric 4c0d613 trunk % Change
timeToFirstByte 56 ms +4.38% -3.57% 55.7 ms +8.17% -3.95% 0.54%
largestContentfulPaint 96 ms +6.25% -4.17% 96 ms +4.17% -8.33% 0%
lcpMinusTtfb 39.05 ms +15.75% -13.7% 34.95 ms +22.89% -2.15% 11.73%
wpBeforeTemplate 29.68 ms +8.05% -2.56% 29.1 ms +10.21% -2.47% 1.99%
wpTemplate 22.26 ms +4.09% -3.46% 22.16 ms +4.11% -3.47% 0.45%
wpTotal 52.07 ms +4.63% -3.17% 51.61 ms +9.49% -3.06% 0.89%
wpMemoryUsage 7.72 MB +0% -0% 7.69 MB +0% -0% 0.41%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric 4c0d613 trunk % Change
timeToFirstByte 46.95 ms +8.73% -3.94% 46.9 ms +6.18% -2.99% 0.11%
largestContentfulPaint 104 ms +1.92% -3.85% 100 ms +4% -0% 4%
lcpMinusTtfb 55.3 ms +5.33% -0.81% 54.25 ms +1.38% -2.3% 1.94%
wpBeforeTemplate 26.97 ms +7.42% -2.48% 26.8 ms +4.18% -2.13% 0.63%
wpTemplate 16.2 ms +11.17% -1.98% 17.12 ms +1.64% -5.49% -5.37%
wpTotal 43.74 ms +8.98% -3.82% 43.94 ms +6.3% -2.78% -0.46%
wpMemoryUsage 6.41 MB +0% -0% 6.38 MB +0% -0% 0.51%
wpDbQueries 13 +0% -0% 13 +0% -0% 0%

media-processing

Metric 4c0d613 trunk % Change
mediaProcessingJpeg 422.73 ms +0.94% -1.25% 406.31 ms +2.03% -0.45% 4.04%
mediaProcessingAvif 6178.42 ms +0.23% -0.36% 6181 ms +0.55% -0.34% -0.04%
mediaProcessingJpegToAvif 4269.98 ms +0.66% -0.12% 4278.9 ms +0.54% -0.59% -0.21%

media-upload

Metric 4c0d613 trunk % Change
jpegUploadProcessing 1950.43 ms +1.16% -24.59% 1469.24 ms +33.32% -1.33% 32.75%
pngUploadProcessing 183.67 ms +54.35% -6.05% 174.37 ms +64.05% -8.77% 5.33%
largeJpegUploadProcessing 1466.14 ms +32.16% -0.33% 1946.81 ms +0.33% -24.63% -24.69%
multipleImageUploadProcessing 2023.45 ms +2.76% -0.21% 2045.12 ms +1.05% -1.06% -1.06%

post-editor

Metric 4c0d613 trunk % Change
serverResponse 271.1 ms +2.93% -7.72% 268.46 ms +3.62% -6.74% 0.98%
firstPaint 229.55 ms +12.71% -8.34% 254.42 ms +6.3% -4.22% -9.78%
domContentLoaded 572.71 ms +5.45% -1.79% 593.08 ms +2.66% -2.85% -3.43%
loaded 573.57 ms +5.44% -1.79% 594 ms +2.65% -2.84% -3.44%
firstContentfulPaint 339.72 ms +8.19% -2.24% 354.88 ms +2.52% -4.5% -4.27%
firstBlock 1485.29 ms +4.72% -1.09% 1499.22 ms +2.65% -0.42% -0.93%
type 13.59 ms +9.05% -5.52% 13.54 ms +6.2% -4.06% 0.37%
typeWithoutInspector 14.28 ms +5.67% -12.89% 14.89 ms +4.03% -8.26% -4.1%
typeWithTopToolbar 17.19 ms +13.96% -9.6% 18.26 ms +7.06% -13.09% -5.86%
typeContainer 6.7 ms +5.22% -9.55% 6.68 ms +8.98% -2.25% 0.3%
focus 82.24 ms +3.06% -5.7% 86.28 ms +5.08% -5.42% -4.68%
firstFocus 198.39 ms +0% -0% 174.49 ms +0% -0% 13.7%
selectAll 271.89 ms +0.83% -0.01% 250.16 ms +5.48% -1.99% 8.69%
undo 23.45 ms +4.65% -4.9% 22.27 ms +7.18% -5.3% 5.3%
listViewOpen 52.24 ms +8.14% -5.38% 55.23 ms +6.59% -3.95% -5.41%
inserterOpen 29.74 ms +12.04% -5.85% 29.13 ms +6.35% -4.36% 2.09%
inserterHover 8.74 ms +8.12% -3.89% 8.92 ms +4.15% -5.27% -2.02%
inserterSearch 6.93 ms +2.89% -5.34% 7.43 ms +16.29% -11.57% -6.73%
loadPatterns 452.48 ms +1.21% -2.06% 462.27 ms +3.67% -1.15% -2.12%
wpTotal 264.11 ms +2.6% -7.97% 261.59 ms +3.74% -7.11% 0.96%
wpMemoryUsage 14.77 MB +0% -0% 14.74 MB +0% -0% 0.23%
wpDbQueries 55 +0% -0% 55 +0% -0% 0%

site-editor

Metric 4c0d613 trunk % Change
serverResponse 472.85 ms +2.54% -7.96% 453.63 ms +5.66% -4.56% 4.24%
firstPaint 382.43 ms +8.77% -1.39% 347.39 ms +7.94% -2.83% 10.09%
domContentLoaded 881.26 ms +5.6% -0.51% 868.83 ms +1.96% -1.09% 1.43%
loaded 882.23 ms +5.62% -0.49% 869.94 ms +1.94% -1.08% 1.41%
firstContentfulPaint 502.91 ms +12.48% -1.03% 504 ms +0.48% -1.21% -0.22%
firstBlock 2648.01 ms +2.24% -0.66% 2571.89 ms +1.53% -1.34% 2.96%
type 19.13 ms +5.65% -13.07% 18.77 ms +1.17% -7.19% 1.92%
navigate 113.66 ms +2.51% -2.96% 105.43 ms +13.35% -1.13% 7.81%
loadPatterns 1376.4 ms +9.71% -17.97% 1247.23 ms +5.58% -5.86% 10.36%
loadPages 1003.1 ms +2.78% -2.89% 1005.76 ms +4.45% -3.22% -0.26%
wpTotal 463.46 ms +2.59% -8.28% 443.9 ms +5.72% -4.6% 4.41%
wpMemoryUsage 12.79 MB +0% -0% 12.76 MB +0% -0% 0.26%
wpDbQueries 45 +0% -0% 45 +0% -0% 0%

7351c38 Run

🏁 Flaky tests

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.

Navigates the items list via UP/DOWN arrow keys in /test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js, passed after 1 failed attempt.
Error: expect(locator).toBeFocused() failed

Locator:  getByLabel('Page Two')
Expected: focused
Received: inactive
Timeout:  5000ms

Call log:
  - Expect "toBeFocused" getByLabel('Page Two') with timeout 5000ms
  - waiting for getByLabel('Page Two')
    14 × locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-170-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-170-label" aria-describedby="view-list-0-170-description"></button>
       - unexpected value "inactive"

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:146:49
Page List converts to Navigation Links with entity bindings in /test/e2e/specs/editor/blocks/navigation.spec.js, passed after 1 failed attempt.
Error: expect(locator).toContainText(expected) failed

Locator: getByRole('region', { name: 'Editor settings' }).getByRole('tabpanel', { name: 'Content' }).getByRole('button', { name: /Link to:/ })
Expected substring: "test-page-1"
Received string:    "Link to:Cat/catPagePublished"
Timeout: 5000ms

Call log:
  - Expect "toContainText" getByRole('region', { name: 'Editor settings' }).getByRole('tabpanel', { name: 'Content' }).getByRole('button', { name: /Link to:/ }) with timeout 5000ms
  - waiting for getByRole('region', { name: 'Editor settings' }).getByRole('tabpanel', { name: 'Content' }).getByRole('button', { name: /Link to:/ })
    14 × locator resolved to <button type="button" aria-expanded="false" aria-haspopup="dialog" class="components-button link-preview-button is-next-40px-default-size is-secondary">…</button>
       - unexpected value "Link to:Cat/catPagePublished"

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1949:31
Undo restores the post selection when another synced entity is loaded in /test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

  Object {
    "attributeKey": "content",
    "blockIndex": 0,
    "content": "abcdef",
-   "endOffset": 3,
-   "offset": 3,
+   "endOffset": 6,
+   "offset": 6,
  }

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/collaboration/collaboration-undo-redo.spec.ts:363:5

allows widgets to be moved between widget areas using the dropdown in the block toolbar in /test/e2e/specs/widgets/editing-widgets.spec.js, passed after 1 failed attempt.

moves selected text into another paragraph in /test/e2e/specs/editor/various/draggable-blocks.spec.js, passed after 1 failed attempt.
Error: expect(received).toMatchObject(expected)

- Expected  - 2
+ Received  + 2

  Array [
    Object {
      "attributes": Object {
-       "content": "First third",
+       "content": "First second third",
      },
      "name": "core/paragraph",
    },
    Object {
      "attributes": Object {
-       "content": "Fourth second fifth",
+       "content": "Fourth fifth",
      },
      "name": "core/paragraph",
    },
  ]

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:1167:41
should allow user to add and remove multiple local font files in /test/e2e/specs/admin/font-library.spec.js, passed after 1 failed attempt.
Error: expect(locator).toBeVisible() failed

Locator: getByLabel('Exo 2 Semi-bold Italic')
Expected: visible
Timeout: 5000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" getByLabel('Exo 2 Semi-bold Italic') with timeout 5000ms
  - waiting for getByLabel('Exo 2 Semi-bold Italic')

    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/admin/font-library.spec.js:58:6
should undo without broken temporary state in /test/e2e/specs/editor/blocks/image.spec.js, passed after 1 failed attempt.
Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 2
+ Received  + 2

- <!-- wp:image -->
- <figure class="wp-block-image"><img alt=""/></figure>
+ <!-- wp:image {"id":19,"sizeSlug":"full","linkDestination":"none"} -->
+ <figure class="wp-block-image size-full"><img src="http://localhost:8891/wp-content/uploads/2026/11/c1128115-d647-41e3-b1f9-9ec6a1d1ce33.png" alt="" class="wp-image-19"/></figure>
  <!-- /wp:image -->
    at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:432:49

7351c38 Run

@Mamaduka Mamaduka added the Backport to WP 7.2 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Nov 4, 2026

@Mamaduka Mamaduka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good! Thanks, @jeryj! Let's also include @lazerg in the props list.

@jeryj

jeryj commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

Let's also include @lazerg in the props list.

For sure! I might still approve his PR, just exploring another route.

@Mamaduka

Mamaduka commented Nov 4, 2026

Copy link
Copy Markdown
Member

Btw, I consolidated search and ranking in other packages - #83312. Haven't tested it for this case. Maybe it's worth extracting that logic into a small package or just duplicating it as needed.

Using the private API from block-editor also works, but that adds more work for #67870.

jeryj and others added 2 commits November 4, 2026 13:16
"Home  Page" with two spaces and "Home Page." should rank above "Home Page Ideas" for the search "home page". The double space currently fails the contains check, so that title drops to last.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the title share tiebreak with a check for whether the title's words are exactly the words searched, so title length still doesn't affect ranking. Collapse runs of whitespace before the contains and begins checks, so a double space in a title doesn't count against it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeryj jeryj changed the title Core Data: Rank the shortest of tied link suggestion titles first Core Data: Rank an exact title match first among tied link suggestions Nov 4, 2026
jeryj and others added 3 commits November 4, 2026 13:23
A double space in a title wasn't part of the reported bug, so leave contains and begins comparing the trimmed string as before. The two-word test uses "Home Page" with a single space instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Match the searches the other sortResults tests and the sort-order doc comment already use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeryj

jeryj commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

@Mamaduka I think this is in a better shape now. Do you want to re-review? I went with an exact match rather than a coverage of search term route, because I didn't want to relegate a longer title as a worse match.

I think refactoring to share search logic would be great!

@mikachan mikachan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! This looks good to me. I like that it only separates out the exact match, and running it after the type comparison keeps the type bands intact.

I've left one non-blocking inline comment. The leading-punctuation case is fairly rare, so if we decide to address it, I think it's fine as a follow-up.

b.score - a.score ||
// Then a title that is exactly the search: the search "coffee beans" ranks the title
// "Coffee Beans" above "Coffee Beans, Lightly Roasted"
Number( b.exact ) - Number( a.exact )

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think the "punctuation does not count" part is only true when the punctuation is at the end of the title. begins and contains still compare the raw strings, and both run before this check. So when a title starts with punctuation, it loses to a longer title before exact is ever compared.

For example, if you search "home" with a page titled “Home” and another page titled "Home Improvement", both pages match the word, both contain the string, and both are pages. But “Home” doesn't start with "home", so "Home Improvement" still ranks first, even though isExactTitle says “Home” is exact.

Maybe we could move the exact check up to just after type, before begins? It would still stay inside the type band. What do you think? Maybe it's not a particularly common use case, but it might be more common in different languages.

jeryj and others added 2 commits November 9, 2026 08:59
"“Coffee Beans”" doesn't begin with "coffee beans" as a string, so it loses to "Coffee Beans, Lightly Roasted" at the begins check before the exact title check runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…heck

A title that starts with punctuation, such as "“Coffee Beans”", fails the begins check, which compares the raw strings, so it lost to a longer title before the exact title check ran. Comparing exact right after the type check fixes that and keeps the type bands intact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Mamaduka
Mamaduka merged commit 603ef3c into trunk Nov 10, 2026
103 of 105 checks passed
@Mamaduka
Mamaduka deleted the fix/link-suggestions-title-share-tiebreak branch November 10, 2026 07:11
@github-actions github-actions Bot added this to the Gutenberg 24.5 milestone Nov 10, 2026
@github-actions

Copy link
Copy Markdown

There was a conflict while trying to cherry-pick the commit to the wp/7.2 branch. Please resolve the conflict manually and create a PR to the wp/7.2 branch.

PRs to wp/7.2 are similar to PRs to trunk, but you should base your PR on the wp/7.2 branch instead of trunk.

# Checkout the wp/7.2 branch instead of trunk.
git checkout wp/7.2

# Create a new branch for your PR.
git checkout -b my-branch

# Cherry-pick the commit.
git cherry-pick 603ef3cf403eaa022f44db57c288e06341ddb46f

# Check which files have conflicts.
git status

# Resolve the conflict...
# Add the resolved files to the staging area.
git status
git add .
git cherry-pick --continue

# Push the branch to the repository
git push origin my-branch

# Create a PR and set the base to the wp/7.2 branch.
# See https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-base-branch-of-a-pull-request.

@Mamaduka Mamaduka added Backported to WP Core Pull request that has been successfully merged into WP Core and removed Backport to WP 7.2 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta labels Nov 10, 2026
Mamaduka added a commit that referenced this pull request Nov 10, 2026
#86327)

Co-authored-by: jeryj <jeryj@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: mikachan <mikachan@git.wordpress.org>
Co-authored-by: courtneyr-dev <courane01@git.wordpress.org>
wporg-sync pushed a commit to WordPress/wordpress-develop that referenced this pull request Nov 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `c035c1a649ef68f5c1646694cf440df1d7ae6e62` to `1b0dc90c700746b108e080263a4dc67707b750a1` (fixes cherry-picked to the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@c035c1a...1b0dc90

- [WP 7.2] Components, UI: Use focus-visible for disabled item focus rings (WordPress/gutenberg#86269)
- Notes: Keep the canvas still when a new note is added (WordPress/gutenberg#86283) (#86293)
- Post summary: Show placeholders for an empty excerpt and a missing author (WordPress/gutenberg#85842) (#86294)
- Core fields: Restore the previous Publish and Status panel date behaviour (WordPress/gutenberg#86065) (#86295)
- Interactivity API: Show the data-wp-html fallback on created elements under Trusted Types (WordPress/gutenberg#84924) (#86306)
- [WP 7.2] UI: Add LoadingIndicator to item popups (WordPress/gutenberg#86303)
- Interactivity Router: Fix nested router regions without data-wp-interactive disappearing on navigation (WordPress/gutenberg#86061) (#86308)
- Interactivity API: Run watch() cleanups and attachTo render callbacks without a directive scope (WordPress/gutenberg#86058) (#86311)
- DataForm: Fix clipped focus ring of field values in panel layout (WordPress/gutenberg#86361) (#86369)
- Tests: Avoid passing an object when invoking static methods via reflection. (WordPress/gutenberg#86329)
- [WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted (WordPress/gutenberg#86379)
- Fields: Lowercase the (no excerpt), (no author) and (no description) placeholders (WordPress/gutenberg#86391) (#86424)
- Core fields: Decode non-Latin slugs in the slug field (WordPress/gutenberg#86359)
- Interactivity API: Show the new page's server content in kept data-wp-html elements (WordPress/gutenberg#86416)
- DataForm: Tighten value density in the panel layout (WordPress/gutenberg#86389) (#86426)
- Post summary: Show "Immediately" and relative publish dates in the Date row (WordPress/gutenberg#86367)
- [WP 7.2] Block Styles: Show the active style variation in forced colors mode (WordPress/gutenberg#86450)
- Site Editor: Fix the frame snapping to the mobile width when resized with the mouse (WordPress/gutenberg#86423)
- Image: measure the lightbox container, not the image's parent (WordPress/gutenberg#82312) (#85491)
- URL: Decode percent-encoded characters in getFilename (WordPress/gutenberg#86422) (#86477)
- Fix: Hide the author avatar when the site does not show avatars and frame a blank one. (WordPress/gutenberg#86395)
- Date picker: Mark the posts of the month a typed or reset date moves to (WordPress/gutenberg#86298) (#86463)
- Fix iOS 27 tap into a heading leaving the caret in a quote (WordPress/gutenberg#85809)
- Hand focus back to the field on a press in every browser (WordPress/gutenberg#86549)
- Prevent jobs from running within forks on `push`. (WordPress/gutenberg#85968)
- i18n: Add translator context to the "Copy error" button label (WordPress/gutenberg#85967)
- Bubble editor canvas events to the outer iframe (WordPress/gutenberg#85263)
- UI: Use LoadingIndicator in remaining popup consumers (WordPress/gutenberg#86501)
- Block Editor: Keep the revision canvas read-only in preview mode (WordPress/gutenberg#84578)
- Core Data: Rank an exact title match first among tied link suggestions (WordPress/gutenberg#86327)
- Tests: Render the router-html-server context case through state (WordPress/gutenberg#86511)
- iOS tests: De-flake the selection handle test (WordPress/gutenberg#85461)

Props mamaduka, wildworks.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65379 602fd350-edb4-49c9-b593-d223f7449a82
wporg-sync pushed a commit to WordPress/WordPress that referenced this pull request Nov 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `c035c1a649ef68f5c1646694cf440df1d7ae6e62` to `1b0dc90c700746b108e080263a4dc67707b750a1` (fixes cherry-picked to the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@c035c1a...1b0dc90

- [WP 7.2] Components, UI: Use focus-visible for disabled item focus rings (WordPress/gutenberg#86269)
- Notes: Keep the canvas still when a new note is added (WordPress/gutenberg#86283) (#86293)
- Post summary: Show placeholders for an empty excerpt and a missing author (WordPress/gutenberg#85842) (#86294)
- Core fields: Restore the previous Publish and Status panel date behaviour (WordPress/gutenberg#86065) (#86295)
- Interactivity API: Show the data-wp-html fallback on created elements under Trusted Types (WordPress/gutenberg#84924) (#86306)
- [WP 7.2] UI: Add LoadingIndicator to item popups (WordPress/gutenberg#86303)
- Interactivity Router: Fix nested router regions without data-wp-interactive disappearing on navigation (WordPress/gutenberg#86061) (#86308)
- Interactivity API: Run watch() cleanups and attachTo render callbacks without a directive scope (WordPress/gutenberg#86058) (#86311)
- DataForm: Fix clipped focus ring of field values in panel layout (WordPress/gutenberg#86361) (#86369)
- Tests: Avoid passing an object when invoking static methods via reflection. (WordPress/gutenberg#86329)
- [WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted (WordPress/gutenberg#86379)
- Fields: Lowercase the (no excerpt), (no author) and (no description) placeholders (WordPress/gutenberg#86391) (#86424)
- Core fields: Decode non-Latin slugs in the slug field (WordPress/gutenberg#86359)
- Interactivity API: Show the new page's server content in kept data-wp-html elements (WordPress/gutenberg#86416)
- DataForm: Tighten value density in the panel layout (WordPress/gutenberg#86389) (#86426)
- Post summary: Show "Immediately" and relative publish dates in the Date row (WordPress/gutenberg#86367)
- [WP 7.2] Block Styles: Show the active style variation in forced colors mode (WordPress/gutenberg#86450)
- Site Editor: Fix the frame snapping to the mobile width when resized with the mouse (WordPress/gutenberg#86423)
- Image: measure the lightbox container, not the image's parent (WordPress/gutenberg#82312) (#85491)
- URL: Decode percent-encoded characters in getFilename (WordPress/gutenberg#86422) (#86477)
- Fix: Hide the author avatar when the site does not show avatars and frame a blank one. (WordPress/gutenberg#86395)
- Date picker: Mark the posts of the month a typed or reset date moves to (WordPress/gutenberg#86298) (#86463)
- Fix iOS 27 tap into a heading leaving the caret in a quote (WordPress/gutenberg#85809)
- Hand focus back to the field on a press in every browser (WordPress/gutenberg#86549)
- Prevent jobs from running within forks on `push`. (WordPress/gutenberg#85968)
- i18n: Add translator context to the "Copy error" button label (WordPress/gutenberg#85967)
- Bubble editor canvas events to the outer iframe (WordPress/gutenberg#85263)
- UI: Use LoadingIndicator in remaining popup consumers (WordPress/gutenberg#86501)
- Block Editor: Keep the revision canvas read-only in preview mode (WordPress/gutenberg#84578)
- Core Data: Rank an exact title match first among tied link suggestions (WordPress/gutenberg#86327)
- Tests: Render the router-html-server context case through state (WordPress/gutenberg#86511)
- iOS tests: De-flake the selection handle test (WordPress/gutenberg#85461)

Props mamaduka, wildworks.
See #66340.
Built from https://develop.svn.wordpress.org/trunk@65379


git-svn-id: http://core.svn.wordpress.org/trunk@64518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
arshidkv12 pushed a commit to arshidkv12/wordpress-develop that referenced this pull request Nov 21, 2026
This updates the pinned commit hash of the Gutenberg repository from `c035c1a649ef68f5c1646694cf440df1d7ae6e62` to `1b0dc90c700746b108e080263a4dc67707b750a1` (fixes cherry-picked to the `wp/7.2` branch).

A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@c035c1a...1b0dc90

- [WP 7.2] Components, UI: Use focus-visible for disabled item focus rings (WordPress/gutenberg#86269)
- Notes: Keep the canvas still when a new note is added (WordPress/gutenberg#86283) (#86293)
- Post summary: Show placeholders for an empty excerpt and a missing author (WordPress/gutenberg#85842) (#86294)
- Core fields: Restore the previous Publish and Status panel date behaviour (WordPress/gutenberg#86065) (#86295)
- Interactivity API: Show the data-wp-html fallback on created elements under Trusted Types (WordPress/gutenberg#84924) (#86306)
- [WP 7.2] UI: Add LoadingIndicator to item popups (WordPress/gutenberg#86303)
- Interactivity Router: Fix nested router regions without data-wp-interactive disappearing on navigation (WordPress/gutenberg#86061) (#86308)
- Interactivity API: Run watch() cleanups and attachTo render callbacks without a directive scope (WordPress/gutenberg#86058) (#86311)
- DataForm: Fix clipped focus ring of field values in panel layout (WordPress/gutenberg#86361) (#86369)
- Tests: Avoid passing an object when invoking static methods via reflection. (WordPress/gutenberg#86329)
- [WP 7.2] DropdownMenu: Invert the selected item indicator while highlighted (WordPress/gutenberg#86379)
- Fields: Lowercase the (no excerpt), (no author) and (no description) placeholders (WordPress/gutenberg#86391) (#86424)
- Core fields: Decode non-Latin slugs in the slug field (WordPress/gutenberg#86359)
- Interactivity API: Show the new page's server content in kept data-wp-html elements (WordPress/gutenberg#86416)
- DataForm: Tighten value density in the panel layout (WordPress/gutenberg#86389) (#86426)
- Post summary: Show "Immediately" and relative publish dates in the Date row (WordPress/gutenberg#86367)
- [WP 7.2] Block Styles: Show the active style variation in forced colors mode (WordPress/gutenberg#86450)
- Site Editor: Fix the frame snapping to the mobile width when resized with the mouse (WordPress/gutenberg#86423)
- Image: measure the lightbox container, not the image's parent (WordPress/gutenberg#82312) (#85491)
- URL: Decode percent-encoded characters in getFilename (WordPress/gutenberg#86422) (#86477)
- Fix: Hide the author avatar when the site does not show avatars and frame a blank one. (WordPress/gutenberg#86395)
- Date picker: Mark the posts of the month a typed or reset date moves to (WordPress/gutenberg#86298) (#86463)
- Fix iOS 27 tap into a heading leaving the caret in a quote (WordPress/gutenberg#85809)
- Hand focus back to the field on a press in every browser (WordPress/gutenberg#86549)
- Prevent jobs from running within forks on `push`. (WordPress/gutenberg#85968)
- i18n: Add translator context to the "Copy error" button label (WordPress/gutenberg#85967)
- Bubble editor canvas events to the outer iframe (WordPress/gutenberg#85263)
- UI: Use LoadingIndicator in remaining popup consumers (WordPress/gutenberg#86501)
- Block Editor: Keep the revision canvas read-only in preview mode (WordPress/gutenberg#84578)
- Core Data: Rank an exact title match first among tied link suggestions (WordPress/gutenberg#86327)
- Tests: Render the router-html-server context case through state (WordPress/gutenberg#86511)
- iOS tests: De-flake the selection handle test (WordPress/gutenberg#85461)

Props mamaduka, wildworks.
See #66340.

git-svn-id: https://develop.svn.wordpress.org/trunk@65379 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backported to WP Core Pull request that has been successfully merged into WP Core [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Package] Core data /packages/core-data [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Navigation link search ranks an exact title match below a longer one

3 participants