/home/altere25/sportzsoft.altereddigital.com/wp-content/plugins/boldgrid-backup
NameSizeModeActions
admin/-0755rm
cli/-0755rm
cron/-0755rm
includes/-0755rm
languages/-0755rm
rest/-0755rm
vendor/-0755rm
boldgrid-backup-cron.php27080644editdlrm
boldgrid-backup.php49020644editdlrm
index.php870644editdlrm
LICENSE.txt180910644editdlrm
readme.txt335920644editdlrm
uninstall.php4910644editdlrm
Edit: /home/altere25/sportzsoft.altereddigital.com/wp-content/plugins/boldgrid-backup/boldgrid-backup.php (4902B)
run(); } /** * Load Total Upkeep. * * Before loading, ensure system meets minimum requirements: * # vendor folder exists. This is not a system requirement, but we want to make * sure the user is NOT running a dev version with a missing vendor folder. * * @since 1.6.0 * * @see Boldgrid_Backup_Admin_Support::run_tests() * * @return bool */ function load_boldgrid_backup() { require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-support.php'; $support = new Boldgrid_Backup_Admin_Support(); $tests_passed = $support->run_tests(); if ( ! $tests_passed ) { return false; } // Include the autoloader to set plugin options and create instance. $loader = require plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; // Load Library. $load = new Boldgrid\Library\Util\Load( array( 'type' => 'plugin', 'file' => plugin_basename( __FILE__ ), 'loader' => $loader, 'keyValidate' => true, 'licenseActivate' => false, ) ); // Make sure we have necessary library files. if ( ! $support->run_library_tests() ) { return false; } register_activation_hook( __FILE__, 'activate_boldgrid_backup' ); register_deactivation_hook( __FILE__, 'deactivate_boldgrid_backup' ); return true; } /* * Load the plugin. * * Above is only: * # function declarations * # constant declarations * * The initial loading of this plugin is done below. * * Run the plugin only if on a wp-admin page or when DOING_CRON. */ if ( is_admin() || ( defined( 'DOING_CRON' ) && DOING_CRON ) || defined( 'WP_CLI' ) && WP_CLI || Boldgrid_Backup_Rest_Utility::is_rest() ) { // If we could not load boldgrid_backup (missing system requirements), abort. if ( load_boldgrid_backup() ) { require_once BOLDGRID_BACKUP_PATH . '/includes/class-boldgrid-backup.php'; run_boldgrid_backup(); } } /* * Fix added as of 1.14.10. * * @todo This fix can be removed in the future. */ $oldname = BOLDGRID_BACKUP_PATH . '/cron/restore-info.json'; if ( file_exists( $oldname ) ) { require_once 'cli/class-info.php'; $newname = BOLDGRID_BACKUP_PATH . '/cron/' . basename( \Boldgrid\Backup\Cli\Info::get_results_filepath() ); rename( $oldname, $newname ); }