Plugin Directory

Changeset 3251368


Ignore:
Timestamp:
03/05/2025 11:09:42 PM (12 months ago)
Author:
walletup
Message:

Path Update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wallet-up/tags/3.4.9/wallet-up.php

    r3251362 r3251368  
    6464}
    6565
    66 // Include necessary WordPress core files
     66// Include necessary WordPress Core files
    6767include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    6868include_once( ABSPATH . 'wp-includes/pluggable.php' );
     
    9999
    100100// Initialize the error handler - using getInstance() instead of constructor
    101 require_once WALLET_UP_BASE_DIR . 'core/Error/ErrorHandler.php';
     101require_once WALLET_UP_BASE_DIR . 'Core/Error/ErrorHandler.php';
    102102$errorHandler = \WalletUp\Core\Error\ErrorHandler::getInstance();
    103103
    104104// 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';
     105if (file_exists(WALLET_UP_BASE_DIR . 'Core/UpgradeLoader.php')) {
     106    require_once WALLET_UP_BASE_DIR . 'Core/UpgradeLoader.php';
    107107}
    108108
     
    125125    // Try to load Smart Features Dashboard if not already loaded
    126126    if (!$smartFeaturesExist) {
    127         $featureFile = WALLET_UP_BASE_DIR . 'core/dashboard/SmartFeaturesDashboard.php';
     127        $featureFile = WALLET_UP_BASE_DIR . 'Core/Dashboard/SmartFeaturesDashboard.php';
    128128        if (file_exists($featureFile)) {
    129129            require_once $featureFile;
     
    138138function walletup_check_upgrade_features() {
    139139    // Load WalupPay teaser
    140     $walupPayFile = WALLET_UP_BASE_DIR . 'core/teasers/WalupPayTeaser.php';
     140    $walupPayFile = WALLET_UP_BASE_DIR . 'Core/Teasers/WalupPayTeaser.php';
    141141    if (file_exists($walupPayFile)) {
    142142        require_once $walupPayFile;
     
    145145   
    146146    // Load QR Customization teaser
    147     $qrCustomizationFile = WALLET_UP_BASE_DIR . 'core/teasers/QRCustomizationTeaser.php';
     147    $qrCustomizationFile = WALLET_UP_BASE_DIR . 'Core/Teasers/QRCustomizationTeaser.php';
    148148    if (file_exists($qrCustomizationFile)) {
    149149        require_once $qrCustomizationFile;
     
    161161
    162162    // 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';
    164164}
    165165
    166166// Enqueue scripts and styles
    167 require_once WALLET_UP_BASE_DIR . 'core/enqueue-walletup.php';
     167require_once WALLET_UP_BASE_DIR . 'Core/enqueue-walletup.php';
    168168
    169169// Add action hooks for settings page
Note: See TracChangeset for help on using the changeset viewer.