Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #55917, comment 21


Ignore:
Timestamp:
06/14/2023 07:49:19 PM (10 months ago)
Author:
antonvlasenko
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55917, comment 21

    initial v1  
    44
    55The [https://core.trac.wordpress.org/attachment/ticket/55917/55917.2.diff patch] proposed by @SergeyBiryukov  resolves the "issue" in one place, but since then, another section of the code has emerged that creates a similar issue: https://github.com/WordPress/gutenberg/pull/42454/files#diff-28f36bb64fbbc8ce728db401b1e4cf30c9f44db7f5dcce1b7b0cc9ce60b1a209R191.
    6 That PR introduces a new function called `build_template_part_block_instance_variations()`, which also causes a fatal error when using the code snippet above.
     6That PR introduces a new function called `build_template_part_block_instance_variations()`, which also causes a fatal error when using the code snippet above (and it has been [https://github.com/WordPress/wordpress-develop/commit/3b63a75108b7f6d5e9112c556285ab1bc80ddbcf backported] to Core).
    77
    88For reference, here are the call stacks for both fatal errors (i.e., the "old" and the "new" one):