Created
October 21, 2025 14:13
-
-
Save sc0ttkclark/0ff68c40a30fdf0e5e681aa28ec3aa66 to your computer and use it in GitHub Desktop.
Place this file at wp-content/mu-plugins/fair-plugin.php and put the fair plugin files in wp-content/mu-plugins/fair-plugin/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: FAIR - Federated and Independent Repositories | |
| * Description: Make your site more FAIR. | |
| * Version: 1.0.0 | |
| * Author: FAIR Contributors | |
| * License: GPLv2 | |
| * Requires at least: 5.4 | |
| * Requires PHP: 7.4 | |
| * Text Domain: fair | |
| * Domain Path: /fair-plugin/languages | |
| */ | |
| add_action( 'plugins_loaded', static function() { | |
| if ( ! defined( '\FAIR\VERSION' ) ) { | |
| require_once __DIR__ . '/fair-plugin/plugin.php'; | |
| } | |
| } ); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can get the fair-plugin files at: https://github.com/fairpm/fair-plugin/releases
Update the mu plugin code above to match the version or other name/description changes that happen in the future.