- Timestamp:
- 12/14/2018 07:08:06 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/inc/template-functions.php
r43909 r44187 107 107 */ 108 108 function twentynineteen_image_filters_enabled() { 109 if ( get_theme_mod( 'image_filter', 1 ) ) { 110 return true; 111 } 112 return false; 109 return 'inactive' !== get_theme_mod( 'image_filter', 1 ); 113 110 } 114 111 … … 419 416 return "#$r$g$b"; 420 417 421 } else { 422 423 return "rgb($r, $g, $b)"; 424 } 425 } 418 } 419 420 return "rgb($r, $g, $b)"; 421 }
Note: See TracChangeset
for help on using the changeset viewer.