Changeset 263052 for inspiro/2.0.2/inc/common-functions.php
- Timestamp:
- 03/14/2025 09:10:17 AM (9 months ago)
- Location:
- inspiro/2.0.2
- Files:
-
- 1 edited
- 1 copied
-
. (copied) (copied from inspiro/2.0.1)
-
inc/common-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
inspiro/2.0.2/inc/common-functions.php
r260536 r263052 359 359 * WooCommerce compatibility. 360 360 */ 361 if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { 361 $active_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); 362 if ( ! is_array( $active_plugins ) ) { 363 $active_plugins = array(); 364 } 365 if ( in_array( 'woocommerce/woocommerce.php', $active_plugins ) ) { 362 366 add_theme_support( 'woocommerce' ); 363 367 add_theme_support( 'wc-product-gallery-zoom' );
Note: See TracChangeset
for help on using the changeset viewer.