Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fetching of ids for partials of provided templates #437

Open
wants to merge 1 commit into
base: release/9.2.3
Choose a base branch
from

Conversation

piqusy
Copy link
Contributor

@piqusy piqusy commented Oct 17, 2024

Description

Fetching newly structured eightshift-theme-options from db needs to be unserialised

e.g.
$footerPartialId = get_option(ThemeOptions::OPTION_NAME)['footer'] ?? '';
should look like:
$footerPartialId = json_decode(get_option(ThemeOptions::OPTION_NAME), true)['footer'] ?? '';

@piqusy piqusy added the bug Something isn't working label Oct 17, 2024
@piqusy piqusy added this to the 9.2.3 milestone Oct 17, 2024
@piqusy piqusy requested a review from a team October 17, 2024 12:20
@piqusy piqusy self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants