From cd208764a0f631b5d72fcf272e819f4c013a68dc Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Fri, 23 Jul 2021 17:02:47 -0500 Subject: Remove more nag notices. --- .../astra-pro/class-astra-pro-upgrade-link-configs.php | 2 +- .../layout/class-astra-footer-layout-configs.php | 14 -------------- .../layout/class-astra-header-layout-configs.php | 2 +- .../layout/class-astra-site-container-layout-configs.php | 2 +- .../typography/class-astra-archive-typo-configs.php | 2 +- .../typography/class-astra-content-typo-configs.php | 2 +- .../typography/class-astra-single-typo-configs.php | 2 +- 7 files changed, 6 insertions(+), 20 deletions(-) diff --git a/inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php b/inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php index ba072ef..9f52df8 100644 --- a/inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php +++ b/inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php @@ -48,7 +48,7 @@ if ( ! class_exists( 'Astra_Pro_Upgrade_Link_Configs' ) ) { ); - return array_merge( $configurations, $_configs ); + return $configurations; } } diff --git a/inc/customizer/configurations/layout/class-astra-footer-layout-configs.php b/inc/customizer/configurations/layout/class-astra-footer-layout-configs.php index 79da36a..677fd88 100644 --- a/inc/customizer/configurations/layout/class-astra-footer-layout-configs.php +++ b/inc/customizer/configurations/layout/class-astra-footer-layout-configs.php @@ -453,20 +453,6 @@ if ( ! class_exists( 'Astra_Footer_Layout_Configs' ) ) { ), ), - /** - * Option: Learn More about Footer Widget - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[ast-footer-widget-more-feature-description]', - 'type' => 'control', - 'control' => 'ast-description', - 'section' => 'section-footer-adv', - 'priority' => 999, - 'label' => '', - 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', - 'settings' => array(), - ), - ); $configurations = array_merge( $configurations, $config ); diff --git a/inc/customizer/configurations/layout/class-astra-header-layout-configs.php b/inc/customizer/configurations/layout/class-astra-header-layout-configs.php index 8c6549e..81b976a 100644 --- a/inc/customizer/configurations/layout/class-astra-header-layout-configs.php +++ b/inc/customizer/configurations/layout/class-astra-header-layout-configs.php @@ -652,7 +652,7 @@ if ( ! class_exists( 'Astra_Header_Layout_Configs' ) ) { $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. - if ( ! defined( 'ASTRA_EXT_VER' ) ) { + if ( false ) { $config = array( diff --git a/inc/customizer/configurations/layout/class-astra-site-container-layout-configs.php b/inc/customizer/configurations/layout/class-astra-site-container-layout-configs.php index cb38b95..1622597 100644 --- a/inc/customizer/configurations/layout/class-astra-site-container-layout-configs.php +++ b/inc/customizer/configurations/layout/class-astra-site-container-layout-configs.php @@ -129,7 +129,7 @@ if ( ! class_exists( 'Astra_Site_Container_Layout_Configs' ) ) { $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. - if ( ! defined( 'ASTRA_EXT_VER' ) ) { + if ( false ) { $config = array( diff --git a/inc/customizer/configurations/typography/class-astra-archive-typo-configs.php b/inc/customizer/configurations/typography/class-astra-archive-typo-configs.php index 71ee4d6..34d7977 100644 --- a/inc/customizer/configurations/typography/class-astra-archive-typo-configs.php +++ b/inc/customizer/configurations/typography/class-astra-archive-typo-configs.php @@ -33,7 +33,7 @@ if ( ! class_exists( 'Astra_Archive_Typo_Configs' ) ) { $_configs = array(); // Learn More link if Astra Pro is not activated. - if ( ! defined( 'ASTRA_EXT_VER' ) ) { + if ( false ) { $_configs = array( diff --git a/inc/customizer/configurations/typography/class-astra-content-typo-configs.php b/inc/customizer/configurations/typography/class-astra-content-typo-configs.php index 777d9a0..599954c 100644 --- a/inc/customizer/configurations/typography/class-astra-content-typo-configs.php +++ b/inc/customizer/configurations/typography/class-astra-content-typo-configs.php @@ -240,7 +240,7 @@ if ( ! class_exists( 'Astra_Content_Typo_Configs' ) ) { $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. - if ( ! defined( 'ASTRA_EXT_VER' ) ) { + if ( false ) { $_configs = array( /** diff --git a/inc/customizer/configurations/typography/class-astra-single-typo-configs.php b/inc/customizer/configurations/typography/class-astra-single-typo-configs.php index 2977f4a..b182871 100644 --- a/inc/customizer/configurations/typography/class-astra-single-typo-configs.php +++ b/inc/customizer/configurations/typography/class-astra-single-typo-configs.php @@ -35,7 +35,7 @@ if ( ! class_exists( 'Astra_Single_Typo_Configs' ) ) { $_configs = array(); // Learn More link if Astra Pro is not activated. - if ( ! defined( 'ASTRA_EXT_VER' ) ) { + if ( false ) { $_configs = array( -- cgit v1.2.3-70-g09d2