Selaa lähdekoodia

:recycle: exposing all blocks temporarily

tags/1.0.1^2^2
J 3 vuotta sitten
vanhempi
commit
0e7804cf96
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1
    0
      plugins/cia-endpoints/includes/class.make-endpoint.php

+ 1
- 0
plugins/cia-endpoints/includes/class.make-endpoint.php Näytä tiedosto

95
             $filtered[galleries] = get_ids_from_gallery_block(
95
             $filtered[galleries] = get_ids_from_gallery_block(
96
                 parse_blocks($item->post_content)
96
                 parse_blocks($item->post_content)
97
             );
97
             );
98
+            $filtered[blocks] = parse_blocks($item->post_content);
98
             $filtered[attached] = get_images_from_content($item->post_content);
99
             $filtered[attached] = get_images_from_content($item->post_content);
99
             $filtered[relatedto] = p2p_related_to( $item->ID, false );
100
             $filtered[relatedto] = p2p_related_to( $item->ID, false );
100
             array_push($collection, $filtered);
101
             array_push($collection, $filtered);

Loading…
Peruuta
Tallenna