mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-31 07:49:38 +01:00
1b6b3a0765
The constant `WP_DEBUG` is a default constant that is set within `wp_initial_constants()` when not defined. This means the constant will always be defined, thus making the `defined( 'WP_DEBUG' )` unnecessary. Removing the `defined()` provides these benefits: * Makes the code more readable. * Tiny performance optimization. References: * https://github.com/WordPress/gutenberg/pull/45979 Follow-up to [52049]. Props ocean90, spacedmonkey, mamaduka. See #57527. Built from https://develop.svn.wordpress.org/trunk@55141 git-svn-id: http://core.svn.wordpress.org/trunk@54674 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
align.php | ||
border.php | ||
colors.php | ||
custom-classname.php | ||
dimensions.php | ||
duotone.php | ||
elements.php | ||
generated-classname.php | ||
layout.php | ||
spacing.php | ||
typography.php | ||
utils.php |