Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor: Remove WP_DEBUG defined check in wp_tinycolor_hue_to_rgb().
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: * WordPress/gutenberg#45979 Follow-up to [52049]. Props ocean90, spacedmonkey, mamaduka. See #57527. git-svn-id: https://develop.svn.wordpress.org/trunk@55141 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information