WordPress/wp-content/themes/twentytwentyone/classes
Sergey Biryukov 6b72fd183f Twenty Twenty-One: Replace include_once with require_once for required classes.
Per [https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#writing-include-require-statements WordPress PHP coding standards], it is ''strongly recommended'' to use `require[_once]` for unconditional includes. When using `include[_once]`, PHP will throw a warning when the file is not found but will continue execution, which will almost certainly lead to other errors/warnings/notices being thrown if your application depends on the file loaded, potentially leading to security leaks. For that reason, `require[_once]` is generally the better choice as it will throw a `Fatal Error` if the file cannot be found.

Follow-up to [49216], [49633].

Props wpfy.
See #57839.
Built from https://develop.svn.wordpress.org/trunk@55633


git-svn-id: http://core.svn.wordpress.org/trunk@55145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-08 09:05:22 +00:00
..
class-twenty-twenty-one-custom-colors.php Twenty Twenty-One: Improve documentation per the documentation standards: 2021-07-01 12:59:57 +00:00
class-twenty-twenty-one-customize-color-control.php Twenty Twenty-One: Improve documentation per the documentation standards: 2021-07-01 12:59:57 +00:00
class-twenty-twenty-one-customize-notice-control.php Help/About: Use the new /documentation/ URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +00:00
class-twenty-twenty-one-customize.php Twenty Twenty-One: Replace include_once with require_once for required classes. 2023-04-08 09:05:22 +00:00
class-twenty-twenty-one-dark-mode.php Twenty Twenty-One: Replace include_once with require_once for required classes. 2023-04-08 09:05:22 +00:00
class-twenty-twenty-one-svg-icons.php Bundled Themes: Add Mastodon domains for menu item icons. 2023-01-13 13:19:13 +00:00