ソースを参照

: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();

読み込み中…
キャンセル
保存