[wp-trac] [WordPress Trac] #48363: Empty string in database for boolean meta not cast to false

WordPress Trac noreply at wordpress.org
Fri Oct 18 17:15:28 UTC 2019


#48363: Empty string in database for boolean meta not cast to false
-------------------------------------------------+-------------------------
 Reporter:  chrisvanpatten                       |       Owner:
                                                 |  TimothyBlynJacobs
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.3
Component:  REST API                             |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  rest-api
  feedback commit                                |
-------------------------------------------------+-------------------------

Comment (by TimothyBlynJacobs):

 Attached a patch scoping the default value application only to scalar
 types as discussed in #core-restapi.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48363#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list