Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Only allow custom meta of types string, number and boolean #2850

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Oct 17, 2016

  1. Only allow custom meta of types string, number and boolean

    Currently we handle registering meta even if your register the type as
    anything other than `boolean` `number` and `string`, however we don't
    currently have great ways to handle non-scaler meta. For now, let's
    whitelist these types and throw a `doing_it_wrong` if meta is registered
    with an invalid type.
    joehoyle committed Oct 17, 2016
    Configuration menu
    Copy the full SHA
    a230361 View commit details
    Browse the repository at this point in the history