Skip to content

Be smarter about handling the default version#171

Merged
stayallive merged 1 commit intomasterfrom
feature/improve-default-version
Dec 25, 2023
Merged

Be smarter about handling the default version#171
stayallive merged 1 commit intomasterfrom
feature/improve-default-version

Conversation

@stayallive
Copy link
Owner

In a network environment calling wp_get_theme() this soon causes issues with child themes. Si we delay until after after_setup_theme which seems reasonable to me.

I also opted to not do anything if the plugin was network activated since every site can have it's own theme and associated version.

Fixes #170.

@stayallive stayallive self-assigned this Dec 5, 2023
@stayallive stayallive merged commit ab0d6d6 into master Dec 25, 2023
@stayallive stayallive deleted the feature/improve-default-version branch December 25, 2023 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parent Theme gone on multisite and network activation

1 participant