fair-plugin/plugin.php
Carrie Dils 701d07e85c
Release: merge 1.4.0 into development for BETA testing (#469)
Signed-off-by: John Blackbourn <john@johnblackbourn.com>
Signed-off-by: Andy Fragen <andy@thefragens.com>
Signed-off-by: Carrie Dils <carriedils@gmail.com>
Signed-off-by: Norcross <andrew.norcross@gmail.com>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: joedolson <joedolson@users.noreply.github.com>
Signed-off-by: Joe Dolson <design@joedolson.com>
Signed-off-by: Shadi Sharaf <shady@sharaf.me>
Signed-off-by: Chuck Adams <chaz@chaz.works>
Signed-off-by: Mika Ipstenu Epstein <ipstenu@halfelf.org>
Signed-off-by: Ipstenu (Mika Epstein) <Ipstenu@users.noreply.github.com>
Signed-off-by: Mika <ipstenu@halfelf.org>
Signed-off-by: Mika Epstein <ipstenu@halfelf.org>
Signed-off-by: Marc Armengou <83702259+marcarmengou@users.noreply.github.com>
Signed-off-by: Carrie Dils <cdils@users.noreply.github.com>
Co-authored-by: John Blackbourn <john@johnblackbourn.com>
Co-authored-by: Chuck Adams <chaz@chaz.works>
Co-authored-by: Andy Fragen <andy@thefragens.com>
Co-authored-by: Norcross <andrew.norcross@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: rmccue <21655+rmccue@users.noreply.github.com>
Co-authored-by: cdils <3099408+cdils@users.noreply.github.com>
Co-authored-by: joedolson <joedolson@users.noreply.github.com>
Co-authored-by: Joe Dolson <design@joedolson.com>
Co-authored-by: Shady Sharaf <shady@sharaf.me>
Co-authored-by: Mika Ipstenu Epstein <ipstenu@halfelf.org>
Co-authored-by: Ipstenu (Mika Epstein) <Ipstenu@users.noreply.github.com>
Co-authored-by: Marc Armengou <83702259+marcarmengou@users.noreply.github.com>
Co-authored-by: Namith Jawahar <48271037+namithj@users.noreply.github.com>
Co-authored-by: Kaspars Dambis <hi@kaspars.net>
2026-04-13 11:42:06 -05:00

65 lines
2.2 KiB
PHP

<?php
/**
* Plugin Name: FAIR Connect - Federated and Independent Repositories
* Description: Make your site more FAIR.
* Version: 1.4.0-BETA
* Author: FAIR Contributors
* Author URI: https://fair.pm
* Security: security@fair.pm
* License: GPLv2
* Requires at least: 5.4
* Requires PHP: 8.0
* Text Domain: fair
* Domain Path: /languages
* Update URI: https://api.fair.pm
* GitHub Plugin URI: https://github.com/fairpm/fair-plugin
* Primary Branch: main
* Release Asset: true
* Network: true
*/
namespace FAIR;
const VERSION = '1.4.0-BETA';
const PLUGIN_DIR = __DIR__;
const PLUGIN_FILE = __FILE__;
require_once __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/inc/namespace.php';
require_once __DIR__ . '/inc/avatars/namespace.php';
require_once __DIR__ . '/inc/credits/namespace.php';
require_once __DIR__ . '/inc/dashboard-widgets/namespace.php';
require_once __DIR__ . '/inc/default-repo/namespace.php';
require_once __DIR__ . '/inc/disable-openverse/namespace.php';
require_once __DIR__ . '/inc/icons/namespace.php';
require_once __DIR__ . '/inc/importers/namespace.php';
require_once __DIR__ . '/inc/packages/namespace.php';
require_once __DIR__ . '/inc/packages/admin/namespace.php';
require_once __DIR__ . '/inc/packages/admin/info.php';
require_once __DIR__ . '/inc/packages/wp-cli/namespace.php';
require_once __DIR__ . '/inc/packages/wp-cli/compat/namespace.php';
require_once __DIR__ . '/inc/pings/namespace.php';
require_once __DIR__ . '/inc/salts/namespace.php';
require_once __DIR__ . '/inc/settings/namespace.php';
require_once __DIR__ . '/inc/site-health/namespace.php';
require_once __DIR__ . '/inc/upgrades/namespace.php';
require_once __DIR__ . '/inc/updater/namespace.php';
require_once __DIR__ . '/inc/user-notification/namespace.php';
require_once __DIR__ . '/inc/version-check/namespace.php';
// External dependencies.
require_once __DIR__ . '/inc/compatibility/php-polyfill.php';
require_once __DIR__ . '/inc/compatibility/wp-polyfill.php';
require_once __DIR__ . '/inc/updater/class-lite.php';
/**
* Load translations.
*
* @return void
*/
function load_textdomain() {
load_plugin_textdomain( 'fair', false, dirname( plugin_basename( PLUGIN_FILE ) ) . '/languages' );
}
add_action( 'init', __NAMESPACE__ . '\load_textdomain' );
bootstrap();