Skip to content

Commit bf044a5

Browse files
committed
Ooops! Didn’t want that!
1 parent 1462450 commit bf044a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5309,7 +5309,7 @@ function get_post_galleries( $post, $html = true, $max_galleries = PHP_INT_MAX )
53095309
*/
53105310
$gallery_depth = $processor->get_depth();
53115311
$has_inner_blocks = false;
5312-
$gallery_ids = $processor->allocate_and_return_parsed_attributes()['attrs']['ids'] ?? array();
5312+
$gallery_ids = $processor->allocate_and_return_parsed_attributes()['ids'] ?? array();
53135313
$ids = array();
53145314
$srcs = array();
53155315

0 commit comments

Comments
 (0)