Plugin Directory


Ignore:
Timestamp:
01/24/2026 01:58:31 PM (2 months ago)
Author:
theaminuldev
Message:

Update to version 2.0.0 from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pageflash/trunk/plugin.php

    r3295254 r3446147  
    11<?php
    22
    3 namespace PageFlash;
     3namespace TheAminul\PageFlash;
    44
    5 use PageFlash\AssetsManager\AssetsManager;
    6 use PageFlash\Admin\Admin;
    7 use PageFlash\Landmark\NoReload;
     5use TheAminul\PageFlash\AssetsManager\AssetsManager;
     6use TheAminul\PageFlash\Admin\Admin;
     7use TheAminul\PageFlash\Landmark;
     8use TheAminul\PageFlash\Compatibility\Compatibility;
    89
    910if ( ! defined( 'ABSPATH' ) ) {
     
    9495            // Initialize your admin-related Landmark here
    9596            new Admin();
     97
    9698        }
    9799    }
     
    108110     */
    109111    private function init_landmark() {
    110         new NoReload\Quicklink();
    111         new NoReload\NoReload();
     112        new Landmark\Landmark();
     113    }
     114
     115    /**
     116     * Initialize compatibility modules.
     117     *
     118     * This method initializes compatibility handlers for third-party plugins.
     119     *
     120     * @since PageFlash 1.2.0
     121     * @access private
     122     */
     123    private function init_compatibility() {
     124        new Compatibility();
    112125    }
    113126
     
    126139        $this->init_admin();
    127140        $this->init_landmark();
     141        $this->init_compatibility();
    128142    }
    129143
Note: See TracChangeset for help on using the changeset viewer.