[wp-trac] [WordPress Trac] #43826: get_post_galleries() should return gallery blocks
WordPress Trac
noreply at wordpress.org
Sat Apr 21 11:50:57 UTC 2018
#43826: get_post_galleries() should return gallery blocks
-------------------------+------------------------------------------
Reporter: pento | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Media | Version:
Severity: normal | Keywords: needs-patch needs-unit-tests
Focuses: |
-------------------------+------------------------------------------
Originally reported here:
https://github.com/WordPress/gutenberg/issues/5797
Galleries in Gutenberg don't use the `[gallery]` shortcode, so aren't
returned by `get_post_galleries()`. This function should check for gallery
blocks, too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43826>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list