[wp-trac] [WordPress Trac] #48363: Empty string in database for boolean meta not cast to false
WordPress Trac
noreply at wordpress.org
Mon Oct 21 19:08:48 UTC 2019
#48363: Empty string in database for boolean meta not cast to false
-------------------------------------------------+-------------------------
Reporter: chrisvanpatten | Owner: kadamwhite
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-unit-tests has-patch commit | Focuses: rest-api
dev-reviewed |
-------------------------------------------------+-------------------------
Changes (by kadamwhite):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"46563" 46563]:
{{{
#!CommitTicketReference repository="" revision="46563"
REST API: Cast empty meta values to correct scalar types in REST response.
Introducing complex meta value handling in [45807] unintentionally removed
value casting for empty scalar meta values.
Props TimothyBlynJacobs, chrisvanpatten, rmccue, kadamwhite.
Fixes #48363.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48363#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list