SimpleRain / SimpleOptions

A simple wordpress options framework for developers.
16 stars 2 forks source link

Google Fonts Style Not Saving #36

Closed pnpetroff closed 10 years ago

pnpetroff commented 11 years ago

I was testing the framework in the online demo ( http://simpleoptions.simplerain.com/wp-admin/ ) and I stumbled a Google Fonts bug (these Google bugs seem to be chasing me).

When I select a font and style - say "Lato", "Ultra-Light 100" and click Save, going back to the panel shows that the font style is "Inherit" and his options now are "Lighter, Normal, Bold, Bolder" (the numeric ones are no more).

The array looks like this:

[typography] => Array
    (
        [family] => Lato
        [google] => true
        [script] => latin
        [size] => 44
        [height] => 
        [color] => #1e0f02
    )
teamcrisis commented 11 years ago

@dovy I can confirm this is an issue, not only on the demo but also my local install from the master branch.

I also noticed that the script field after making a selection and clicking save shows as empty in SOF panel.

Can you also include an std array demo in your files for this field type?

dovy commented 11 years ago

I'm on it.