CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 15:50:26 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/WordPress/gutenberg.git
etag: W/"fa1bb31f41a66c60b78bb18cc70854bd"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=GukxYnw2q7amm6%2B64n2WI8vFqtV0ySG7zthSZCDWDgAr%2F76vKjH9IGfkE9zFp8Uoz7PS7PA0pd5S051ZdYrJfBi%2FnVw%2BBaQA7gUwTWFVRNuoYGMPNFSKS1qzS72p2oFGuy2MOH11ADo0O9OgmFPTYdOov7IGicNveBDIsKdwePC22tDC%2FZBRV6h5yg6ZqM%2F73I7WCRUu0ORtAuZfFOY7n2MskSMnigzLCmA0sqABvM%2BO%2FU0OJCQD94U7zNK506IgRlsBmcZPDwDYM0fQc%2FPa8A%3D%3D--L7W51h288fvsXb9K--yDMt4aIjaP%2FRH4nk0X%2BZ9A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.590215537.1760197825; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 15:50:25 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 15:50:25 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 93F4:366CA0:864ABA:B00710:68EA7CC1
Post Author Block: Add default avatar fallback for editor display out… · WordPress/gutenberg@238c7e2 · GitHub


authored
Copy file name to clipboardExpand all lines: packages/block-library/src/avatar/hooks.js
Copy file name to clipboardExpand all lines: packages/block-library/src/post-author/edit.js
Copy file name to clipboardExpand all lines: packages/block-library/src/utils/hooks.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit 238c7e2

Post Author Block: Add default avatar fallback for editor display outside postId context (#71775)
* Post Author Block: Add useDefaultAvatar fallback to display avatar placeholder outside postId context
* Post Author Block: Update alt text for default avatar to improve accessibility
Co-authored-by: theaminuli <theaminuldev@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>1 parent 2eef8c8 commit 238c7e2Copy full SHA for 238c7e2
Expand file treeCollapse file tree
3 files changed
+30
-17
lines changedCollapse file: packages/block-library/src/avatar/hooks.js
packages/block-library/src/avatar/hooks.js
Copy file name to clipboardExpand all lines: packages/block-library/src/avatar/hooks.js+5-10Lines changed: 5 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 |
| |
10 | 14 |
| |
11 | 15 |
| |
| |||
16 | 20 |
| |
17 | 21 |
| |
18 | 22 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 | 23 |
| |
29 | 24 |
| |
30 | 25 |
| |
|
Collapse file: packages/block-library/src/post-author/edit.js
packages/block-library/src/post-author/edit.js
Copy file name to clipboardExpand all lines: packages/block-library/src/post-author/edit.js+16-7Lines changed: 16 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
| 25 | + | |
24 | 26 |
| |
25 |
| - | |
26 |
| - | |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 |
| |
35 | 38 |
| |
36 | 39 |
| |
| |||
115 | 118 |
| |
116 | 119 |
| |
117 | 120 |
| |
| 121 | + | |
118 | 122 |
| |
119 | 123 |
| |
120 | 124 |
| |
| |||
323 | 327 |
| |
324 | 328 |
| |
325 | 329 |
| |
326 |
| - | |
| 330 | + | |
327 | 331 |
| |
328 | 332 |
| |
329 | 333 |
| |
330 |
| - | |
331 |
| - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
332 | 341 |
| |
333 | 342 |
| |
334 | 343 |
| |
|
Collapse file: packages/block-library/src/utils/hooks.js
packages/block-library/src/utils/hooks.js
Copy file name to clipboardExpand all lines: packages/block-library/src/utils/hooks.js+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
96 | 105 |
| |
97 | 106 |
| |
98 | 107 |
| |
|
You can’t perform that action at this time.
0 commit comments