[wp-trac] [WordPress Trac] #43826: get_post_galleries() should return gallery blocks

WordPress Trac noreply at wordpress.org
Wed Nov 21 17:39:33 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:
----------------------------------------------------+---------------------
Changes (by antpb):

 * milestone:  5.0 => 5.0.1


Comment:

 We should move this to a future milestone as there are still some things
 to discuss and agree on. Changing the same function to produce different
 results may not be the best path forward.

 One other thing to add, since we are moving this from 5.0, is that the
 classic-block has the ability to add a gallery with no ids defined. We may
 want some documentation around that for users that are expecting to use
 it.  New galleries should be accessed like any other block on the server
 instead of forcing get_post_galleries() to match. I do think later we
 ''should'' support get_post_galleries() but we will need to do it at a
 later time.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43826#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list