From e0c4d14d357c8c3d954e8e7e7f438e7ea77023d9 Mon Sep 17 00:00:00 2001 From: jaspercroome <128058464+jaspercroome@users.noreply.github.com> Date: Fri, 29 Mar 2024 06:59:28 -0700 Subject: [PATCH] adding custom fonts plugin (#847) merging on my own --- client-mu-plugins/goodbids/composer.json | 1 + client-mu-plugins/goodbids/composer.lock | 20 ++++++++++++++++++- client-mu-plugins/goodbids/config.json | 1 + .../goodbids/src/classes/Nonprofits/Admin.php | 3 +++ 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/client-mu-plugins/goodbids/composer.json b/client-mu-plugins/goodbids/composer.json index a3d4ede3..634f5931 100644 --- a/client-mu-plugins/goodbids/composer.json +++ b/client-mu-plugins/goodbids/composer.json @@ -59,6 +59,7 @@ "wpackagist-plugin/accessibility-checker": "^1.9.3", "wpackagist-plugin/delete-me": "^3.1", "wpackagist-plugin/miniorange-oauth-20-server": "^6.0", + "wpackagist-plugin/olympus-google-fonts": "^3.6", "wpackagist-plugin/svg-support": "^2.5", "wpackagist-plugin/tidio-live-chat": "*", "wpackagist-plugin/top-bar": "^3.0", diff --git a/client-mu-plugins/goodbids/composer.lock b/client-mu-plugins/goodbids/composer.lock index 55031565..a79d5d27 100644 --- a/client-mu-plugins/goodbids/composer.lock +++ b/client-mu-plugins/goodbids/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "874fdfd4a90eb5432fd8bc87c6c4f0ab", + "content-hash": "dac106695f6601c12c112adf53229be5", "packages": [ { "name": "composer/installers", @@ -1283,6 +1283,24 @@ "type": "wordpress-plugin", "homepage": "https://wordpress.org/plugins/miniorange-oauth-20-server/" }, + { + "name": "wpackagist-plugin/olympus-google-fonts", + "version": "3.6.0", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/olympus-google-fonts/", + "reference": "tags/3.6.0" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/olympus-google-fonts.3.6.0.zip" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/olympus-google-fonts/" + }, { "name": "wpackagist-plugin/svg-support", "version": "2.5.5", diff --git a/client-mu-plugins/goodbids/config.json b/client-mu-plugins/goodbids/config.json index 67fc8833..e49e1647 100644 --- a/client-mu-plugins/goodbids/config.json +++ b/client-mu-plugins/goodbids/config.json @@ -8,6 +8,7 @@ "advanced-custom-fields-pro/acf.php", "delete-me", "miniorange-oauth-oidc-single-sign-on/mo_oauth_settings.php", + "olympus-google-fonts", "tidio-live-chat/tidio-elements.php", "top-bar/topbar.php", "user-switching", diff --git a/client-mu-plugins/goodbids/src/classes/Nonprofits/Admin.php b/client-mu-plugins/goodbids/src/classes/Nonprofits/Admin.php index 34c5dba2..0a7c99e5 100644 --- a/client-mu-plugins/goodbids/src/classes/Nonprofits/Admin.php +++ b/client-mu-plugins/goodbids/src/classes/Nonprofits/Admin.php @@ -63,6 +63,9 @@ function () { // Remove Top Bar Menu Item remove_menu_page('topbar-options-menu'); + // Remove custom fonts Menu Item + remove_menu_page('olympus-google-fonts'); + // Remove Posts Admin Menu item remove_menu_page( 'edit.php' );