Make google font links unique

This commit is contained in:
Tetrakern 2024-02-08 16:03:21 +01:00
parent 67585c37f8
commit 1728fd56fc

View File

@ -1248,7 +1248,7 @@ function fictioneer_sanitize_google_fonts_links( $value ) {
}
// Continue saving process
return implode( "\n", $valid_links );
return implode( "\n", array_unique( $valid_links ) );
}
// =============================================================================