Plugin Directory

Changeset 3201947


Ignore:
Timestamp:
12/03/2024 08:55:21 PM (15 months ago)
Author:
everpress
Message:

fix WordPress Repo

Location:
snapshots
Files:
14 added
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • snapshots/trunk/assets/style.css

    r3201946 r3201947  
    3535}
    3636#wp-admin-bar-snapshots .search-snapshot input {
    37     all:revert;
    3837    border: 0;
    39     font-size: 16px;
    4038    width: 100%;
    4139    background: none;
  • snapshots/trunk/snapshots.php

    r3201946 r3201947  
    77Author URI:      https://xaver.dev
    88Text Domain:     snapshots
    9 Version:         3.0.0
     9Version:         2.8.0
    1010 */
    1111
     
    4141}
    4242
    43 require_once __DIR__ . '/includes/common.php';
     43require_once dirname( __FILE__ ) . '/common.php';
    4444
    4545if ( defined( 'WP_CLI' ) && WP_CLI ) :
    4646
    47     error_reporting( 0 );
    48 
    49     require_once __DIR__ . '/includes/cli.php';
     47    require_once dirname( __FILE__ ) . '/cli.php';
    5048
    5149    WP_CLI::add_command( 'snapshot', 'Snapshots' );
     
    5351else :
    5452
    55     require_once __DIR__ . '/includes/plugin.php';
    56     require_once __DIR__ . '/includes/upgrade.php';
     53    require_once dirname( __FILE__ ) . '/plugin.php';
     54    require_once dirname( __FILE__ ) . '/upgrade.php';
    5755
    5856    Snapshots_Plugin::get_instance();
Note: See TracChangeset for help on using the changeset viewer.