• Hello, here is a tweak regarding the thread requests to have font-display setting.

    Actually there is existing function for it in plugin, and it seems that author after updates leave it out.

    File:

    selfhost-google-fonts/inc/google-font.php

    // Have a font-display setting?
    				//if (Plugin::options()->font_display) {
    				//	$rules[] = 'font-display: ' . sanitize_text_field(Plugin::options()->font_display);
    				//}
    
    				$rules[] = 'font-display: block';

    Thank you, regards

    • This topic was modified 3 years, 11 months ago by n381.
Viewing 1 replies (of 1 total)
  • Thread Starter n381

    (@n381)

    To update this previous hint, that it applies to version 1.0.1
    as in the next version scripts differs.

Viewing 1 replies (of 1 total)
  • The topic ‘Regarding Font Display’ is closed to new replies.