Skip to content

Conversation

@nicholasio
Copy link
Member

Description of the Change

PHP >= 8.2 was getting deprecation notices for mb_convert_string

Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /var/www/html/wp-content/plugins/headless-wp/includes/classes/Integrations/Gutenberg.php on line 192

mb_convert_string usage with HTML-ENTITIES has been deprecated.

How to test the Change

Run the unit tests.

Checklist:

@vercel
Copy link

vercel bot commented Feb 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
headstartwp-app-router ❌ Failed (Inspect) Feb 18, 2025 8:50pm
headstarwp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 18, 2025 8:50pm

@changeset-bot
Copy link

changeset-bot bot commented Feb 18, 2025

🦋 Changeset detected

Latest commit: 3f04cb7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@headstartwp/headstartwp Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nicholasio nicholasio merged commit 0b31232 into trunk Feb 18, 2025
12 of 14 checks passed
@nicholasio nicholasio deleted the fix/mb-convert-encoding-deprecation branch February 18, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants