Skip to content

Commit

Permalink
Global Fonts: Fix the inline URLs after #424.
Browse files Browse the repository at this point in the history
  • Loading branch information
dd32 committed Aug 23, 2023
1 parent 273dde2 commit f2e8309
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mu-plugins/global-fonts/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ 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: 1 addition & 0 deletions mu-plugins/global-fonts/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -802,3 +802,4 @@
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 f2e8309

Please sign in to comment.