Uh oh!
There was an error while loading. Please reload this page.
Elements API updates backport - #3206
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MaggieCabrera
commented
Sep 8, 2022
While trying to fix the tests I found a bug that wasn't caught in GB because the test is only on core, not in the GB repo. I'm going to try and patch that so we can add it to this one or we could "hack" the snapshot and then patch afterwards. I'm more inclined to do the former. |
This is the fix for the issue that the tests uncovered. Edit: merged and backported here too |
… #40889 Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com> Co-authored-by: Dave Smith <getdavemail@gmail.com> Co-authored-by: Adam Zielinski <adam@adamziel.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com> Co-authored-by: George Mamadashvili <georgemamadashvili@gmail.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com> Co-authored-by: Andrei Draganescu <andrei.draganescu@automattic.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com> Co-authored-by: Dave Smith <getdavemail@gmail.com> Co-authored-by: Adam Zielinski <adam@adamziel.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com> Co-authored-by: David Calhoun <438664+dcalhoun@users.noreply.github.com>
…2072 Co-authored-by: Dave Smith <getdavemail@gmail.com>
Co-authored-by: Dave Smith <getdavemail@gmail.com>
… #42669 Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: George Mamadashvili <georgemamadashvili@gmail.com>
…blocks on public pages (#41335) * Adding the code existing in a previous version of this file, inside this loop: https://github.com/WordPress/gutenberg/blob/9c1c67bba4ba0dc7b241639719c567a364a8ea05/lib/compat/wordpress-6.0/class-wp-theme-json-6-0.php#L320 * Avoid repeating code * linting
Co-authored-by: Glen Davies <glen.davies@a8c.com> Co-authored-by: Ben Dwyer <ben@scruffian.com>
32d5e2c to
a7283ecCompareMaggieCabrera
commented
Sep 9, 2022
this only needs a review and check what's breaking the tests (they are all passing locally) |
SergeyBiryukov
commented
Sep 9, 2022
The tests previously failed on PHP 5.6 with a fatal error: 0015d99 should resolve the issue. We already used |
SergeyBiryukov
left a comment
There was a problem hiding this comment.
This looks good to me 👍 Made some minor adjustments to documentation and unit tests for consistency with the rest of core. Going to merge shortly.
SergeyBiryukov
commented
Sep 10, 2022
Thanks for the PR! Merged in r54118. |
ockham
commented
Sep 11, 2022
Thanks a lot, folks! I was alerted that unfortunately, r54118 caused a fatal error on websites running Core We'll need to add a Unfortunately, this won't fix the problem immediately: WP sites running Core I'm not sure how to best cover the latter case. For mitigation, we might want to consider reverting r54118 (as much as it pains me to suggest that) -- at least until a GB version with the fix is released. Going forward, we should probably put some strategies in place to avoid collisions like this:
Anyway, this is something we'll discuss separately. I'll file one or two issues tomorrow. |
ockham
commented
Sep 12, 2022
Update: Unbeknownst to me, the |
This PR backports the following changes:
elementsin theme json gutenberg#41786Trac ticket: https://core.trac.wordpress.org/ticket/56467
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.