Skip to content

Fix fatal error in ClassicPress by returning early if class does not exist#21

Merged
mustafauysal merged 1 commit intoHandyPlugins:developfrom
doubleedesign:develop
Aug 30, 2025
Merged

Fix fatal error in ClassicPress by returning early if class does not exist#21
mustafauysal merged 1 commit intoHandyPlugins:developfrom
doubleedesign:develop

Conversation

@doubleedesign
Copy link
Contributor

Add a check for the presence of WP_Block_Type_Registry before attempting to use it, to make this plugin compatible with ClassicPress. (Otherwise, it triggers a fatal error upon activation.)

@mustafauysal mustafauysal merged commit e8e974b into HandyPlugins:develop Aug 30, 2025
@mustafauysal
Copy link
Member

Thanks @doubleedesign 👍

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.

2 participants