mirror of
git://develop.git.wordpress.org/
synced 2025-04-09 06:32:28 +02:00
This change makes sure only gallery content is returned by `get_post_galleries()`. It fixes an issue where non gallery block content was also returned by the function. Props BinaryMoon, costdev, glendaviesnz. Merges [52797] to the 5.9 branch. Fixes #55203. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53006 602fd350-edb4-49c9-b593-d223f7449a82