mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
For doc block types, favor bool over the few remaining booleans
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1431,7 +1431,7 @@ final class WP_Customize_Widgets {
|
||||
* @access protected
|
||||
*
|
||||
* @param string $option_name Option name.
|
||||
* @return boolean Whether the option capture is ignored.
|
||||
* @return bool Whether the option capture is ignored.
|
||||
*/
|
||||
protected function is_option_capture_ignored( $option_name ) {
|
||||
return ( 0 === strpos( $option_name, '_transient_' ) );
|
||||
|
||||
Reference in New Issue
Block a user