Skip to content

Make "Learn more" permalink URL translatable - #86576

Merged
oandregal merged 1 commit into
trunkfrom
fix/permalink-learn-more-url-i18n
Nov 25, 2026
Merged

oandregal merged 1 commit into
trunkfrom
fix/permalink-learn-more-url-i18n

Conversation

@shimotmk

Copy link
Copy Markdown
Contributor

What?

Closes

Why?

The "Learn more" link on the post slug settings screen used to be a translatable URL:

<ExternalLink
href={ __(
'https://wordpress.org/documentation/article/page-post-settings-sidebar/#permalink'
) }
/>

It seems that the translation function was accidentally omitted during the migration to Core fields (#84696).

We will adjust this so that users can jump to the documentation in their respective languages.

It's similar to the change in #34282

How?

Add a translation function to the URL.

Testing Instructions

Testing Instructions for Keyboard

Screenshots or screencast

There are no visual changes.

Use of AI Tools

@shimotmk shimotmk self-assigned this Nov 10, 2026
@shimotmk shimotmk added [Type] Enhancement A suggestion for improvement. Internationalization (i18n) Issues or PRs related to internationalization efforts labels Nov 10, 2026
@github-actions github-actions Bot added the [Package] Fields /packages/fields label Nov 10, 2026
@github-actions

github-actions Bot commented Nov 10, 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: shimotmk <shimotomoki@git.wordpress.org>
Co-authored-by: oandregal <oandregal@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: -4 B (0%)

Total Size: 8.71 MB

📦 View Changed
Filename Size Change
build/modules/core-fields/post_type_supports.min.js 82 kB -4 B (0%)

c8ec605 Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric 4531e08 trunk % Change
timeToFirstByte 45.35 ms +3.42% -4.52% 43.9 ms +4.1% -3.19% 3.3%
largestContentfulPaint 74 ms +2.7% -5.41% 72 ms +5.56% -5.56% 2.78%
lcpMinusTtfb 29.2 ms +7.02% -12.5% 27.55 ms +11.25% -14.88% 5.99%
wpBeforeTemplate 22.79 ms +8.12% -3.99% 22.83 ms +10.03% -2.41% -0.18%
wpTemplate 18.49 ms +5.3% -5.79% 17.48 ms +6.41% -3.43% 5.78%
wpTotal 42.04 ms +2.97% -4.64% 40.64 ms +3.37% -3.47% 3.44%
wpMemoryUsage 7.75 MB +0% -0% 7.72 MB +0% -0% 0.45%
wpDbQueries 16 +0% -0% 16 +0% -0% 0%

front-end-classic-theme

Metric 4531e08 trunk % Change
timeToFirstByte 36.9 ms +7.05% -1.9% 35.4 ms +10.17% -4.1% 4.24%
largestContentfulPaint 68 ms +2.94% -5.88% 64 ms +6.25% -3.13% 6.25%
lcpMinusTtfb 28.65 ms +5.24% -3.84% 27.85 ms +5.57% -4.31% 2.87%
wpBeforeTemplate 19.94 ms +7.42% -3.21% 19 ms +8.42% -1.68% 4.95%
wpTemplate 14.05 ms +3.84% -4.84% 12.85 ms +9.65% -1.09% 9.34%
wpTotal 33.93 ms +7.31% -1.92% 32.52 ms +10.61% -3.29% 4.34%
wpMemoryUsage 6.44 MB +0% -0% 6.41 MB +0% -0% 0.56%
wpDbQueries 13 +0% -0% 13 +0% -0% 0%

media-processing

Metric 4531e08 trunk % Change
mediaProcessingJpeg 329.6 ms +0.83% -0.49% 325.94 ms +0.17% -0.42% 1.12%
mediaProcessingAvif 4901.1 ms +0.62% -0.85% 4861.63 ms +0.25% -0.26% 0.81%
mediaProcessingJpegToAvif 3407.68 ms +0.61% -0.4% 3407.16 ms +0.06% -0.28% 0.02%

media-upload

Metric 4531e08 trunk % Change
jpegUploadProcessing 1471.43 ms +0.84% -1.45% 1447.58 ms +0.92% -0.68% 1.65%
pngUploadProcessing 255.74 ms +3.65% -6.64% 257.11 ms +2.15% -7% -0.53%
largeJpegUploadProcessing 1455.15 ms +1.15% -0.48% 1446.75 ms +0.41% -0.54% 0.58%
multipleImageUploadProcessing 1524.9 ms +1.66% -0.32% 1521.14 ms +4.09% -0.88% 0.25%

post-editor

Metric 4531e08 trunk % Change
serverResponse 310.89 ms +5.37% -6.1% 308.83 ms +5.93% -6.53% 0.67%
firstPaint 331.11 ms +9.22% -9.18% 329.25 ms +10.96% -5.38% 0.56%
domContentLoaded 638.99 ms +1.94% -0.86% 640.17 ms +1.33% -0.46% -0.18%
loaded 639.83 ms +1.93% -0.83% 640.96 ms +1.32% -0.45% -0.18%
firstContentfulPaint 357.79 ms +3.5% -2.45% 367.71 ms +1.43% -1.64% -2.7%
firstBlock 1735.82 ms +0.38% -0.7% 1742.43 ms +1% -0.69% -0.38%
type 15.19 ms +3.23% -10.4% 14.84 ms +7.61% -4.38% 2.36%
typeWithoutInspector 14.47 ms +5.32% -6.15% 15.13 ms +5.95% -4.16% -4.36%
typeWithTopToolbar 19.05 ms +4.99% -6.46% 18.95 ms +4.75% -9.45% 0.53%
typeContainer 6.68 ms +7.49% -9.58% 6.9 ms +1.3% -10.29% -3.19%
focus 88.67 ms +3.01% -3.02% 85.95 ms +6.22% -1.63% 3.16%
firstFocus 203.34 ms +0% -0% 212.97 ms +0% -0% -4.52%
selectAll 311.26 ms +0.13% -0.96% 312.57 ms +0.12% -0.14% -0.42%
undo 23.27 ms +11.26% -2.23% 27.12 ms +2.65% -8.52% -14.2%
listViewOpen 31.43 ms +3.09% -1.72% 32.26 ms +4.53% -3.44% -2.57%
inserterOpen 33.23 ms +4.48% -4.06% 37.41 ms +8.02% -13.85% -11.17%
inserterHover 9.53 ms +7.45% -7.14% 9.87 ms +8.31% -7.6% -3.44%
inserterSearch 7.21 ms +9.57% -9.57% 7.12 ms +4.63% -5.34% 1.26%
loadPatterns 513.34 ms +1.09% -5.62% 523.63 ms +9.38% -2.33% -1.97%
wpTotal 302.21 ms +5.47% -6.25% 300.22 ms +6.1% -6.69% 0.66%
wpMemoryUsage 14.80 MB +0% -0% 14.76 MB +0% -0% 0.25%
wpDbQueries 55 +0% -0% 55 +0% -0% 0%

site-editor

Metric 4531e08 trunk % Change
serverResponse 475.26 ms +5.42% -7.79% 482.57 ms +0.41% -8.24% -1.51%
firstPaint 466.03 ms +1.72% -14.7% 426.32 ms +10.22% -2.24% 9.31%
domContentLoaded 844.56 ms +3.98% -0.41% 840.3 ms +0.95% -0.52% 0.51%
loaded 845.5 ms +4.01% -0.41% 841.38 ms +0.94% -0.51% 0.49%
firstContentfulPaint 475.77 ms +4.01% -1.28% 466 ms +2.41% -0.78% 2.1%
firstBlock 2637.49 ms +2.15% -1.24% 2591.89 ms +1.38% -0.41% 1.76%
type 18.02 ms +9.82% -4.27% 17.78 ms +8.04% -11.02% 1.35%
navigate 113.22 ms +11.01% -1.75% 108.79 ms +7.75% -1.58% 4.07%
loadPatterns 1385.19 ms +2.82% -10.34% 1381.23 ms +5.51% -13.74% 0.29%
loadPages 978.92 ms +1.27% -2.21% 976.68 ms +3.59% -1.24% 0.23%
wpTotal 465.81 ms +5.52% -7.96% 472.78 ms +0.47% -8.37% -1.47%
wpMemoryUsage 12.84 MB +0% -0% 12.80 MB +0% -0% 0.28%
wpDbQueries 45 +0% -0% 45 +0% -0% 0%

c8ec605 Run

@oandregal
oandregal force-pushed the fix/permalink-learn-more-url-i18n branch from 9bbe175 to c8ec605 Compare November 25, 2026 12:26
@oandregal
oandregal merged commit d9885a0 into trunk Nov 25, 2026
81 of 82 checks passed
@oandregal
oandregal deleted the fix/permalink-learn-more-url-i18n branch November 25, 2026 12:47
@github-actions github-actions Bot added this to the Gutenberg 24.6 milestone Nov 25, 2026
Vedant-Gandhi pushed a commit to Vedant-Gandhi/gutenberg that referenced this pull request Nov 30, 2026
Co-authored-by: shimotmk <shimotomoki@git.wordpress.org>
Co-authored-by: oandregal <oandregal@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Internationalization (i18n) Issues or PRs related to internationalization efforts [Package] Fields /packages/fields [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants