[wp-trac] [WordPress Trac] #38393: Add support for "integer" type for meta and options
WordPress Trac
noreply at wordpress.org
Mon Oct 31 16:06:56 UTC 2016
#38393: Add support for "integer" type for meta and options
----------------------------+-----------------------
Reporter: flixos90 | Owner: joehoyle
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.7
Component: REST API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
----------------------------+-----------------------
Changes (by joehoyle):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"39058"]:
{{{
#!CommitTicketReference repository="" revision="39058"
REST API: Add support for "integer" type for meta and options
Previously Settings only supported "number" which meant it was possible to
push floats to things like posts_per_page. This means now developers can
also specify `type => ineger` in meta nad settings resgration.
Props flixos90.
Fixes #38393.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38393#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list