소스 검색

:bug: fixing api forgot an arg

tags/0.9.0
j 5 년 전
부모
커밋
0a650b7486
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      plugins/cia-endpoints/includes/class.make-endpoint.php

+ 1
- 1
plugins/cia-endpoints/includes/class.make-endpoint.php 파일 보기

@@ -51,7 +51,7 @@ class Make_Endpoint_For extends WP_REST_Controller {
51 51
         return new WP_REST_Response( $this->prepare_item_for_response($args), 200 );
52 52
     }
53 53
 
54
-    private function _getAttachments($item) {
54
+    private function _getAttachments($item, $galleries) {
55 55
         // Get media
56 56
         $desiredSizes = ['thumbnail', 'medium', 'large', 'full'];
57 57
 		$all_image_ids_in_gallery = array();

Loading…
취소
저장