Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update class-kirki-fonts-google.php #2106

Merged
merged 2 commits into from
Mar 5, 2019
Merged

Conversation

dedalx
Copy link
Contributor

@dedalx dedalx commented Mar 1, 2019

Process Google fonts function does not worked correctly. Fonts variants was not loaded correctly because of this issue with different variables (string and integer) comparison in array (some correct fonts variants like 100,200,300, bolds, etc was skipped and not loaded to site if "load all font variants" feature was enabled).
For example if Google Font have 100,100italic,200,200italic variants - function remove 100 and 200 from variants. Now this is fixed.
Can be related only to some (PHP7+) PHP versions.

dedalx added 2 commits March 1, 2019 12:25
Process fonts function does not worked correctly. Fonts variants was not loaded correctly because of this (some corrent fonts variants like 100,200,300, etc was skipped and not loaded to site if load all font variants feature was enabled). Can be related only to some (PHP7+) PHP versions.
@codecov
Copy link

codecov bot commented Mar 2, 2019

Codecov Report

Merging #2106 into develop will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           develop   #2106   +/-   ##
=======================================
  Coverage     4.69%   4.69%           
=======================================
  Files          145     145           
  Lines         6918    6918           
=======================================
  Hits           325     325           
  Misses        6593    6593
Impacted Files Coverage Δ
modules/webfonts/class-kirki-fonts-google.php 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update feb8863...ae3acfc. Read the comment docs.

@aristath aristath merged commit 859cb05 into themeum:develop Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants