diff options
author | Zach van Rijn <me@zv.io> | 2021-07-23 17:02:47 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2021-07-23 17:02:47 -0500 |
commit | cd208764a0f631b5d72fcf272e819f4c013a68dc (patch) | |
tree | 66f576b84fb290c9d1a219493e5d5f5a93aa9123 | |
parent | 74a3674d0446456f0a6f43433b96aa77ad2e4c69 (diff) | |
download | blog-ng-cd208764a0f631b5d72fcf272e819f4c013a68dc.tar.gz blog-ng-cd208764a0f631b5d72fcf272e819f4c013a68dc.tar.bz2 blog-ng-cd208764a0f631b5d72fcf272e819f4c013a68dc.tar.xz blog-ng-cd208764a0f631b5d72fcf272e819f4c013a68dc.zip |
Remove more nag notices.
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' => '<p>' . __( 'More Options Available in Astra Pro!', 'astra' ) . '</p><a href="' . astra_get_pro_url( 'https://wpastra.com/pro/', 'customizer', 'learn-more', 'upgrade-to-pro' ) . '" class="button button-secondary" target="_blank" rel="noopener">' . __( 'Learn More', 'astra' ) . '</a>', - '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( |