Skip to content

Commit

Permalink
[CMSP-967] Remove font_dir filter (#35)
Browse files Browse the repository at this point in the history
* remove fonts

* remove font tests
  • Loading branch information
jazzsequence authored Mar 27, 2024
1 parent 8898aab commit e5e3f3c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 202 deletions.
38 changes: 0 additions & 38 deletions inc/fonts.php

This file was deleted.

8 changes: 2 additions & 6 deletions pantheon.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,21 @@
* Plugin Name: Pantheon
* Plugin URI: https://pantheon.io/
* Description: Building on Pantheon's and WordPress's strengths, together.
* Version: 1.3.1
* Version: 1.3.2
* Author: Pantheon
* Author URI: https://pantheon.io/
*
* @package pantheon
*/

define( 'PANTHEON_MU_PLUGIN_VERSION', '1.3.1' );
define( 'PANTHEON_MU_PLUGIN_VERSION', '1.3.2' );

if ( isset( $_ENV['PANTHEON_ENVIRONMENT'] ) ) {
require_once 'inc/functions.php';
require_once 'inc/pantheon-page-cache.php';
if ( ! defined( 'DISABLE_PANTHEON_UPDATE_NOTICES' ) || ! DISABLE_PANTHEON_UPDATE_NOTICES ) {
require_once 'inc/pantheon-updates.php';
}
// If the WP Font Library exists, we can add our font directory modifications. Use version_compare because the Font Library isn't actually loaded yet.
if ( version_compare( Pantheon\_pantheon_get_current_wordpress_version(), '6.5' ) ) {
require_once 'inc/fonts.php';
}
if ( ! defined( 'RETURN_TO_PANTHEON_BUTTON' ) || RETURN_TO_PANTHEON_BUTTON ) {
require_once 'inc/pantheon-login-form-mods.php';
}
Expand Down
158 changes: 0 additions & 158 deletions tests/phpunit/test-fonts.php

This file was deleted.

0 comments on commit e5e3f3c

Please sign in to comment.