Skip to content

Commit

Permalink
Revert "Global Fonts: Fix the inline URLs after #424."
Browse files Browse the repository at this point in the history
This reverts commit f2e8309.
  • Loading branch information
dd32 committed Aug 25, 2023
1 parent f2e8309 commit 57d111a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions mu-plugins/global-fonts/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ function relative_to_absolute_urls( $editor_settings ) {
'!url\(./(?P<path>[^)]+)\)!i',
function( $m ) {
return "url(" . plugins_url( $m['path'], __FILE__ ) . ")";
},
$style['css']
}
);

$editor_settings['styles'][ $i ] = $style;
Expand Down
1 change: 0 additions & 1 deletion mu-plugins/global-fonts/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -802,4 +802,3 @@
src: url(./IBMPlexMono/IBMPlexMono-BoldItalic-latin.woff2?ver=a96c20e7edc2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}

0 comments on commit 57d111a

Please sign in to comment.