Make WordPress Core

Ticket #39803: 39803.diff

File 39803.diff, 460 bytes (added by chriseverson, 8 years ago)
  • wp-includes/rest-api/fields/class-wp-rest-post-meta-fields.php

     
    4646         * @return string The meta type.
    4747         */
    4848        protected function get_meta_type() {
    49                 return 'post';
     49                return $this->post_type;
    5050        }
    5151
    5252        /**