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 Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:37:10 +00:00
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 I18N: Add context for the Public string in site attributes list on Edit Site screen. 2021-01-15 17:39:12 +00:00
site-new.php Networks and Sites: Extract into a new function the email that gets sent to the network administrator when a new site is created, and introduce filters to disable and modify its 2020-10-11 19:29:08 +00:00
site-settings.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
site-themes.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
site-users.php Quick/Bulk Edit: By the power vested in me, I hereby declare the top bulk actions and the bottom bulk actions joined forever in MatrimonyScript. 2021-01-07 16:23:07 +00:00
sites.php Quick/Bulk Edit: By the power vested in me, I hereby declare the top bulk actions and the bottom bulk actions joined forever in MatrimonyScript. 2021-01-07 16:23:07 +00:00
theme-editor.php
theme-install.php Coding Standards: Use strict comparison in wp-admin/network where static strings are involved. 2020-05-24 09:17:09 +00:00
themes.php Coding Standards: Split long printf() calls for search results for better readability. 2020-10-23 17:19:14 +00:00
update-core.php
update.php
upgrade.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
user-edit.php
user-new.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
users.php Quick/Bulk Edit: By the power vested in me, I hereby declare the top bulk actions and the bottom bulk actions joined forever in MatrimonyScript. 2021-01-07 16:23:07 +00:00