Ticket #48169: 48169.1.patch
File 48169.1.patch, 641 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
563 563 * 564 564 * @since 5.3.0 565 565 * 566 * @param string $type 566 * @param string $type Primitive type. 567 567 * @return mixed 568 568 */ 569 569 protected function get_default_for_type( $type ) { … … 577 577 case 'number': 578 578 return 0.0; 579 579 case 'array': 580 return array();581 580 case 'object': 582 581 return array(); 583 582 default: