WordPress.org

Make WordPress Core

Changeset 51804


Ignore:
Timestamp:
09/11/2021 06:19:31 PM (8 days ago)
Author:
SergeyBiryukov
Message:

Site Health: Add Intl to the list of recommended PHP extensions.

Why is the PHP Intl extension important?

WordPress is a global, international software, with support for a multitude of languages and with infinite combinations. Approximately half of the installations are in a language that is not the default (English), and this leads us to think about localization, transliteration, encoding conversions, calendar operations, collation… in short, everything you have with the different languages and formats that are around the planet. And this is what the PHP Intl extension provides.

What do we as the WordPress Community gain from this extension?

This extension provides a lot of functions for better internationalization support, including but not limited to:

In addition to functionality and ease of development, the extension can also help improve security, with classes like Spoofchecker that can tell you if ‘google.com’, ‘goog1e.com’ can confuse the user, or functions related to Internet domains, both to convert an IDN domain to text and text to IDN.

Hosting Team Recommendation

Taking into account that WordPress continues to grow, the Hosting Team has considered a good recommendation, but not an obligation, for all hosts that work with WordPress to offer this extension, by default, to all users.

Reference: Why hosters should install the PHP-intl extension.

Follow-up to [44986], [46268].

Props zodiac1978, JavierCasares, jrf, Clorith, josklever.
Fixes #52654.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r51519 r51804  
    941941                'function' => 'iconv',
    942942                'required' => false,
     943            ),
     944            'intl'      => array(
     945                'extension' => 'intl',
     946                'required'  => false,
    943947            ),
    944948            'mcrypt'    => array(
Note: See TracChangeset for help on using the changeset viewer.