diff options
Diffstat (limited to 'plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php')
-rw-r--r-- | plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php index 3b20fa08..0ffd971b 100644 --- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php +++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-media-v1-2-endpoint.php @@ -66,8 +66,8 @@ class WPCOM_JSON_API_List_Media_v1_2_Endpoint extends WPCOM_JSON_API_List_Media_ foreach ( $media_list as $index => $media_item ) { // expose `revision_history` object for each image $media_item->revision_history = (object) array( - 'items' => (array) Media::get_revision_history( $media_item->ID ), - 'original' => (object) Media::get_original_media( $media_item->ID ) + 'items' => (array) Jetpack_Media::get_revision_history( $media_item->ID ), + 'original' => (object) Jetpack_Media::get_original_media( $media_item->ID ) ); } |