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

WordPress Trac noreply at wordpress.org
Tue Nov 16 16:04:58 UTC 2021


#43826: get_post_galleries() should return gallery blocks
---------------------------------------------+-----------------------------
 Reporter:  pento                            |       Owner:  hellofromTonya
     Type:  task (blessed)                   |      Status:  reviewing
 Priority:  normal                           |   Milestone:  5.9
Component:  Media                            |     Version:  5.0
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  template
---------------------------------------------+-----------------------------
Changes (by hellofromTonya):

 * keywords:  needs-testing has-patch has-unit-tests => has-patch has-unit-
     tests commit


Comment:

 [https://github.com/WordPress/wordpress-develop/pull/1864 PR 1864] is
 ready for `commit`. It handles both v1 and v2 gallery block. Performance
 has been considered, analyzed, and tuned.

 There are holdups with getting the migration from v1 to v2 gallery block
 content working ([https://github.com/WordPress/gutenberg/pull/36191 see GB
 PR 36191]. Per @glendaviesnz,

 >This hold up has been brought about by the need to block access to sites
 that have `use_balanceTags` enabled, but are running WordPress versions <
 5.9, and complications with trying to set a flag to alert for the presence
 of the `use_BalanceTags` at a point in desktop and mobile before gallery
 deprecations run.

 The migration testing work should not affect the v2 structure which is
 handled in this ticket and the patch.

 If by RC the v2 gallery block is reverted (removed from core), then this
 ticket's patch can be revisited to determine if the v2 portion should also
 be reverted.

 As today is 5.9 Beta 1, marking this commit.

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


More information about the wp-trac mailing list