Changeset 3251368
- Timestamp:
- 03/05/2025 11:09:42 PM (12 months ago)
- File:
-
- 1 edited
-
wallet-up/tags/3.4.9/wallet-up.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wallet-up/tags/3.4.9/wallet-up.php
r3251362 r3251368 64 64 } 65 65 66 // Include necessary WordPress core files66 // Include necessary WordPress Core files 67 67 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 68 68 include_once( ABSPATH . 'wp-includes/pluggable.php' ); … … 99 99 100 100 // Initialize the error handler - using getInstance() instead of constructor 101 require_once WALLET_UP_BASE_DIR . ' core/Error/ErrorHandler.php';101 require_once WALLET_UP_BASE_DIR . 'Core/Error/ErrorHandler.php'; 102 102 $errorHandler = \WalletUp\Core\Error\ErrorHandler::getInstance(); 103 103 104 104 // Upgrade loader - handles smart notices and upgrade features 105 if (file_exists(WALLET_UP_BASE_DIR . ' core/UpgradeLoader.php')) {106 require_once WALLET_UP_BASE_DIR . ' core/UpgradeLoader.php';105 if (file_exists(WALLET_UP_BASE_DIR . 'Core/UpgradeLoader.php')) { 106 require_once WALLET_UP_BASE_DIR . 'Core/UpgradeLoader.php'; 107 107 } 108 108 … … 125 125 // Try to load Smart Features Dashboard if not already loaded 126 126 if (!$smartFeaturesExist) { 127 $featureFile = WALLET_UP_BASE_DIR . ' core/dashboard/SmartFeaturesDashboard.php';127 $featureFile = WALLET_UP_BASE_DIR . 'Core/Dashboard/SmartFeaturesDashboard.php'; 128 128 if (file_exists($featureFile)) { 129 129 require_once $featureFile; … … 138 138 function walletup_check_upgrade_features() { 139 139 // Load WalupPay teaser 140 $walupPayFile = WALLET_UP_BASE_DIR . ' core/teasers/WalupPayTeaser.php';140 $walupPayFile = WALLET_UP_BASE_DIR . 'Core/Teasers/WalupPayTeaser.php'; 141 141 if (file_exists($walupPayFile)) { 142 142 require_once $walupPayFile; … … 145 145 146 146 // Load QR Customization teaser 147 $qrCustomizationFile = WALLET_UP_BASE_DIR . ' core/teasers/QRCustomizationTeaser.php';147 $qrCustomizationFile = WALLET_UP_BASE_DIR . 'Core/Teasers/QRCustomizationTeaser.php'; 148 148 if (file_exists($qrCustomizationFile)) { 149 149 require_once $qrCustomizationFile; … … 161 161 162 162 // Include settings link file 163 include_once WALLET_UP_BASE_DIR . ' core/dash/settings-link.php';163 include_once WALLET_UP_BASE_DIR . 'Core/dash/settings-link.php'; 164 164 } 165 165 166 166 // Enqueue scripts and styles 167 require_once WALLET_UP_BASE_DIR . ' core/enqueue-walletup.php';167 require_once WALLET_UP_BASE_DIR . 'Core/enqueue-walletup.php'; 168 168 169 169 // Add action hooks for settings page
Note: See TracChangeset
for help on using the changeset viewer.