diff --git src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
index a897d13c1b..1de13aac19 100644
|
|
|
abstract class WP_REST_Meta_Fields { |
| 70 | 70 | * |
| 71 | 71 | * @param int $object_id Object ID to fetch meta for. |
| 72 | 72 | * @param WP_REST_Request $request Full details about the request. |
| 73 | | * @return object|WP_Error Object containing the meta values by name, otherwise WP_Error object. |
| | 73 | * @return array Array containing the meta values keyed by name. |
| 74 | 74 | */ |
| 75 | 75 | public function get_value( $object_id, $request ) { |
| 76 | 76 | $fields = $this->get_registered_fields(); |