Repository navigation
[WP 7.2] Icons: Deprecate locks-small, lock-outline, replace lock with lock-outline svg - #86924
Conversation
…tline svg (#85740) Co-authored-by: jasmussen <joen@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> (cherry picked from commit 972488d) Co-authored-by: t-hamano <54422211+t-hamano@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011g9URuqTEiHVKg23fFNH9o
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: -358 B (0%) Total Size: 9.08 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome 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 (Site Editor v2) in
|
| { | ||
| "slug": "lock-outline", | ||
| "label": "Lock Outline", | ||
| "filePath": "library/lock-outline.svg" | ||
| }, | ||
| { | ||
| "slug": "lock-small", | ||
| "label": "Lock Small", | ||
| "filePath": "library/lock-small.svg" | ||
| }, |
There was a problem hiding this comment.
Just to clarify, this deletion is not a backward-incompatible change. To begin with, these icons were never shipped in core because their collections fields were not defined. This is purely an internal housekeeping change within the wordpress/icons package.
This updates the pinned commit hash of the Gutenberg repository from `1b0dc90c700746b108e080263a4dc67707b750a1` to `61aba5422836aeed76a794f98d3fe0da3eb5f5d1` (head of the `wp/7.2` branch). A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@1b0dc90...61aba54. - Interactivity API: Render TrustedHTML after rejecting the same markup as a string (WordPress/gutenberg#86555). - Interactivity Router: Render only the most recently started navigation (WordPress/gutenberg#86515) (WordPress/gutenberg#86608). - Block Parser: Update error-handling for stack of unclosed blocks (WordPress/gutenberg#74427). - Block Parser: Match updates from Core's default parser (WordPress/gutenberg#86078). - Upload Media: Export `isClientSideSupportedFormat()` (WordPress/gutenberg#86541) (WordPress/gutenberg#86693). - Core fields: Restore the `editor.PostFeaturedImage.imageSize` filter in the post editor (WordPress/gutenberg#86662). - Icons: Rename file to folder, add actual file icon (WordPress/gutenberg#86526) (WordPress/gutenberg#86779). - Icons: Add "database" icon (WordPress/gutenberg#85273) (WordPress/gutenberg#86853). - [WP 7.2] Icons: Map a conservative set of Dashicons to `core-admin` icons (WordPress/gutenberg#86708) (WordPress/gutenberg#86854). - Connectors: Show filesystem credentials modal on plugin install (WordPress/gutenberg#78367). - Icons: Deprecate locks-small, lock-outline, replace lock with lock-outline svg (WordPress/gutenberg#85740) (WordPress/gutenberg#86924). - Blocks: Fix duplicated content when implicitly closing a final open block (WordPress/gutenberg#86703). - ContentEditableControl: Don't focus a disabled field on click (WordPress/gutenberg#86613). - Fix iOS keyboard not opening on a tap into another block after Done (WordPress/gutenberg#86839). Removes the icons restored by this update from the `$_old_files` array to prevent them being deleted when WordPress is updated. Developed in: #16048 Props peterwilsoncc, mamaduka, wildworks, fushar. See #66340. git-svn-id: https://develop.svn.wordpress.org/trunk@65543 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from `1b0dc90c700746b108e080263a4dc67707b750a1` to `61aba5422836aeed76a794f98d3fe0da3eb5f5d1` (head of the `wp/7.2` branch). A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@1b0dc90...61aba54. - Interactivity API: Render TrustedHTML after rejecting the same markup as a string (WordPress/gutenberg#86555). - Interactivity Router: Render only the most recently started navigation (WordPress/gutenberg#86515) (WordPress/gutenberg#86608). - Block Parser: Update error-handling for stack of unclosed blocks (WordPress/gutenberg#74427). - Block Parser: Match updates from Core's default parser (WordPress/gutenberg#86078). - Upload Media: Export `isClientSideSupportedFormat()` (WordPress/gutenberg#86541) (WordPress/gutenberg#86693). - Core fields: Restore the `editor.PostFeaturedImage.imageSize` filter in the post editor (WordPress/gutenberg#86662). - Icons: Rename file to folder, add actual file icon (WordPress/gutenberg#86526) (WordPress/gutenberg#86779). - Icons: Add "database" icon (WordPress/gutenberg#85273) (WordPress/gutenberg#86853). - [WP 7.2] Icons: Map a conservative set of Dashicons to `core-admin` icons (WordPress/gutenberg#86708) (WordPress/gutenberg#86854). - Connectors: Show filesystem credentials modal on plugin install (WordPress/gutenberg#78367). - Icons: Deprecate locks-small, lock-outline, replace lock with lock-outline svg (WordPress/gutenberg#85740) (WordPress/gutenberg#86924). - Blocks: Fix duplicated content when implicitly closing a final open block (WordPress/gutenberg#86703). - ContentEditableControl: Don't focus a disabled field on click (WordPress/gutenberg#86613). - Fix iOS keyboard not opening on a tap into another block after Done (WordPress/gutenberg#86839). Removes the icons restored by this update from the `$_old_files` array to prevent them being deleted when WordPress is updated. Developed in: WordPress/wordpress-develop#16048 Props peterwilsoncc, mamaduka, wildworks, fushar. See #66340. Built from https://develop.svn.wordpress.org/trunk@65543 git-svn-id: http://core.svn.wordpress.org/trunk@64616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the pinned commit hash of the Gutenberg repository from `1b0dc90c700746b108e080263a4dc67707b750a1` to `61aba5422836aeed76a794f98d3fe0da3eb5f5d1` (head of the `wp/7.2` branch). A full list of changes included in this commit can be found on GitHub: WordPress/gutenberg@1b0dc90...61aba54. - Interactivity API: Render TrustedHTML after rejecting the same markup as a string (WordPress/gutenberg#86555). - Interactivity Router: Render only the most recently started navigation (WordPress/gutenberg#86515) (WordPress/gutenberg#86608). - Block Parser: Update error-handling for stack of unclosed blocks (WordPress/gutenberg#74427). - Block Parser: Match updates from Core's default parser (WordPress/gutenberg#86078). - Upload Media: Export `isClientSideSupportedFormat()` (WordPress/gutenberg#86541) (WordPress/gutenberg#86693). - Core fields: Restore the `editor.PostFeaturedImage.imageSize` filter in the post editor (WordPress/gutenberg#86662). - Icons: Rename file to folder, add actual file icon (WordPress/gutenberg#86526) (WordPress/gutenberg#86779). - Icons: Add "database" icon (WordPress/gutenberg#85273) (WordPress/gutenberg#86853). - [WP 7.2] Icons: Map a conservative set of Dashicons to `core-admin` icons (WordPress/gutenberg#86708) (WordPress/gutenberg#86854). - Connectors: Show filesystem credentials modal on plugin install (WordPress/gutenberg#78367). - Icons: Deprecate locks-small, lock-outline, replace lock with lock-outline svg (WordPress/gutenberg#85740) (WordPress/gutenberg#86924). - Blocks: Fix duplicated content when implicitly closing a final open block (WordPress/gutenberg#86703). - ContentEditableControl: Don't focus a disabled field on click (WordPress/gutenberg#86613). - Fix iOS keyboard not opening on a tap into another block after Done (WordPress/gutenberg#86839). Removes the icons restored by this update from the `$_old_files` array to prevent them being deleted when WordPress is updated. Developed in: WordPress#16048 Props peterwilsoncc, mamaduka, wildworks, fushar. See #66340. git-svn-id: https://develop.svn.wordpress.org/trunk@65543 602fd350-edb4-49c9-b593-d223f7449a82
What?
Manual backport of #85740 to the
wp/7.2branch, since the automated cherry-pick failed.Why?
WordPress/wordpress-develop#16048 adds the new
lockandunlockicons to the Core icon library. Without this backport,lockships as the old filled drawing whileunlockis a stroke-based outline, so the pair would be inconsistent in WordPress 7.2.How?
Cherry-picked 972488d and resolved the following conflicts:
packages/block-editor/src/components/list-view/block-select-button.jsx: The file is still.jsxonwp/7.2(it was converted to TypeScript on trunk). Applied only the import change (lockSmall as lock→lock).packages/widget-dashboard/src/stories/debug.story.tsx: Kept thewp/7.2import style and only replacedlockOutlinewithlock.packages/icons/CHANGELOG.md: Kept the existingwp/7.2entries and added only the two entries from Icons: Deprecate locks-small, lock-outline, replace lock with lock-outline svg #85740. The unrelated entries from Icons: Deprecate insertBefore, insertAfter, offline #85445 that appeared in the conflict were not added.Testing Instructions
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Used for: Cherry-picking the commit, resolving the conflicts, and drafting this description. Reviewed by me.