[wp-trac] [WordPress Trac] #43826: get_post_galleries() should return gallery blocks
WordPress Trac
noreply at wordpress.org
Thu Nov 22 07:10:24 UTC 2018
#43826: get_post_galleries() should return gallery blocks
----------------------------------------------------+---------------------
Reporter: pento | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0.1
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs-testing | Focuses:
----------------------------------------------------+---------------------
Comment (by tellyworth):
Thanks for those references @birgire. I reviewed the twenty* themes and
usage in all of the plugins with > 0 installs, and it looks promising.
Most calls use `ids` only. A few use 'type' or 'size' if present.
I can see no indication there is a common usage idiom that would be
tripped up by unexpected keys in the output. Just in case though, that's
trivially dealt with by only including `ids` in the block return.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43826#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list