WordPress.org

Make WordPress Core

Ticket #48169: 48169.diff

File 48169.diff, 496 bytes (added by itowhid06, 2 years ago)
  • src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php

    diff --git a/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php b/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
    index a447a3cdcf..025e8462f6 100644
    a b abstract class WP_REST_Meta_Fields { 
    577577                        case 'number':
    578578                                return 0.0;
    579579                        case 'array':
    580                                 return array();
    581580                        case 'object':
    582581                                return array();
    583582                        default: