WordPress/wp-admin/network
Sergey Biryukov 253e1e0413 Code Modernization: Bring consistency to preparing some fields on Network Settings screen:
* `illegal_names`
* `limited_email_domains`
* `banned_email_domains`

If any of these options have a falsey value, treat it as an empty string. This addresses a PHP 8.1+ deprecation notice when passing a `null` value to `str_replace()`.

Additionally, avoid unnecessary type casting for better performance.

Props hellofromTonya, jrf, SergeyBiryukov.
See #51423.
Built from https://develop.svn.wordpress.org/trunk@50772


git-svn-id: http://core.svn.wordpress.org/trunk@50381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-20 14:49:08 +00:00
..
about.php
admin.php
credits.php
edit.php
freedoms.php
index.php
menu.php
plugin-editor.php
plugin-install.php Coding Standards: Use strict comparison in wp-admin/network where static strings are involved. 2020-05-24 09:17:09 +00:00
plugins.php
privacy.php
profile.php
settings.php Code Modernization: Bring consistency to preparing some fields on Network Settings screen: 2021-04-20 14:49:08 +00:00
setup.php
site-info.php
site-new.php
site-settings.php
site-themes.php
site-users.php
sites.php
theme-editor.php
theme-install.php
themes.php
update-core.php
update.php
upgrade.php
user-edit.php
user-new.php
users.php