Skip to content

Commit

Permalink
Footer credit: Remove customizer option for block themes (take 2) (#3…
Browse files Browse the repository at this point in the history
…8559)

Reintroduces the removal of the "Footer Credit" option from the Customizer for block themes (Automattic/jetpack#38473) which was reverted in Automattic/jetpack#38557 since it caused fatal errors on sites with child themes.

To prevent the fatal errors, we know wait for the `init` action before checking `wp_is_block_theme`.

Props to @Automattic/lego for finding the culprit.

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10108305659

Upstream-Ref: Automattic/jetpack@04a2033
  • Loading branch information
mmtr authored and matticbot committed Jul 26, 2024
1 parent 565023d commit 70f4866
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 70f4866

Please sign in to comment.