| @@ -2,10 +2,10 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Class to load addon functionality. |
| 4 | 4 | * |
| 5 | 5 | * @package Charitable/Classes/Charitable_Addons |
| 6 | - * @author Eric Daams | |
| 7 | - * @copyright Copyright (c) 2019, Studio 164a | |
| 6 | + * @author David Bisset | |
| 7 | + * @copyright Copyright (c) 2023, WP Charitable LLC | |
| 8 | 8 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 9 | 9 | * @since 1.0.0 |
| 10 | 10 | * @version 1.0.0 |
| 11 | 11 | */ |
| @@ -10,9 +10,11 @@ | ||
| 10 | 10 | * @version 1.0.0 |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | 13 | // Exit if accessed directly. |
| 14 | -if ( ! defined( 'ABSPATH' ) ) { exit; } | |
| 14 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 15 | + exit; | |
| 16 | +} | |
| 15 | 17 | |
| 16 | 18 | if ( ! class_exists( 'Charitable_Addons' ) ) : |
| 17 | 19 | |
| 18 | 20 | /** |
| @@ -105,8 +107,14 @@ | ||
| 105 | 107 | |
| 106 | 108 | $this->load_addon_dependencies(); |
| 107 | 109 | |
| 108 | 110 | foreach ( $active_addons as $addon ) { |
| 111 | + | |
| 112 | + //todo: resolve an unknown PHP Notice. | |
| 113 | + if ( $addon === 'charitable-user-dashboard' ) { | |
| 114 | + continue; | |
| 115 | + } | |
| 116 | + | |
| 109 | 117 | $filepath = $this->get_validated_addon_filepath( $addon ); |
| 110 | 118 | |
| 111 | 119 | /* If we cannot read the file, bounce back with an error. */ |
| 112 | 120 | if ( false === $filepath ) { |