Skip to content

Update Font Awesome from 6.6.0 to 7.2.0#243

Merged
RachelRVasquez merged 3 commits intostrangerstudios:devfrom
flintfromthebasement:update/font-awesome-7.2.0
Apr 1, 2026
Merged

Update Font Awesome from 6.6.0 to 7.2.0#243
RachelRVasquez merged 3 commits intostrangerstudios:devfrom
flintfromthebasement:update/font-awesome-7.2.0

Conversation

@flintfromthebasement
Copy link
Copy Markdown
Contributor

@flintfromthebasement flintfromthebasement commented Mar 25, 2026

Summary

  • Updated Font Awesome from 6.6.0 to 7.2.0
  • Replaced all.min.css with FA 7.2.0 version
  • Updated webfonts to woff2-only (FA 7 drops .ttf files — woff2 has universal browser support)
  • Removed 4 .ttf files no longer shipped by FA 7
  • Regenerated brand (550), regular (169), and solid (1422) icon arrays in inc/font-awesome.php from FA 7.2.0 metadata
  • Updated version string in functions.php from 6.6.0 to 7.2.0

Notes

  • FA 7.x is backward compatible with fa, fas, far, fab class prefixes
  • All hardcoded icons in the theme (fa-file-alt, fa-angle-left, fa-angle-right, fa-angle-down, fa-chevron-up) still exist in FA 7.2.0
  • No references to "Font Awesome 6" font family name found in theme code — all.min.css handles font-face declarations internally
  • FA 7.2.0 includes v4/v5 shim support if needed for backward compatibility with older icon names

Test plan

  • Activate theme and verify icons render on frontend
  • Check icon picker in Customizer still works with updated arrays
  • Verify no console errors related to font loading
  • Test RTL layout (chevron icons in nav walker)
  • Spot-check a few brand icons (social media links, etc.)

🤖 Generated with Claude Code

- Updated all.min.css to FA 7.2.0
- Updated webfonts (woff2 only — FA 7 drops .ttf)
- Removed .ttf files (no longer shipped by FA 7)
- Regenerated brand/regular/solid icon arrays from FA 7.2.0 metadata
- Updated version string in functions.php

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kimcoleman
Copy link
Copy Markdown
Member

kimcoleman commented Mar 25, 2026

This looks good overall - I haven't tested it. But I will note that we lost the asort on the final returned array of named icons here: https://github.com/strangerstudios/memberlite/pull/243/files#diff-86fd765ebf245d1b366925dce352c3ba3231e82cf05d35d0b3578aca61e51dd5L23

Added a commit to restore asort here.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the theme’s bundled Font Awesome assets to v7.2.0 to keep icon rendering and the admin icon picker in sync with the upstream release.

Changes:

  • Bumped the enqueued Font Awesome stylesheet version to 7.2.0.
  • Replaced bundled Font Awesome all.min.css and updated webfonts to .woff2 only (including v4 compatibility font).
  • Regenerated the brand / regular / solid icon name arrays used by the theme.

Reviewed changes

Copilot reviewed 2 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
functions.php Updates the enqueued Font Awesome version string to 7.2.0.
inc/font-awesome.php Replaces the icon-name arrays and keeps the merged “all icons” list behavior.
font-awesome/css/all.min.css Updates bundled Font Awesome CSS to Free 7.2.0 and references .woff2 webfonts.
font-awesome/webfonts/fa-brands-400.woff2 Updated brand font (woff2).
font-awesome/webfonts/fa-regular-400.woff2 Updated regular font (woff2).
font-awesome/webfonts/fa-solid-900.woff2 Updated solid font (woff2).
font-awesome/webfonts/fa-v4compatibility.woff2 Adds/updates v4 compatibility font (woff2).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@kimcoleman kimcoleman self-assigned this Apr 1, 2026
@RachelRVasquez RachelRVasquez merged commit 94fbcf9 into strangerstudios:dev Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants