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

Plugin: Remove unnecessary 'IS_GUTENBERG_PLUGIN' check in 'load.php' #59873

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

Mamaduka
Copy link
Member

What?

This is a follow-up to #59702.

PR unnecessary IS_GUTENBERG_PLUGIN check in 'load.php' for loading pattern overrides code.

Why?

The load.php is the Gutenberg plugin-specific file; it doesn't get synced with Core and IS_GUTENBERG_PLUGIN is always true for it.

Testing Instructions

CI checks should be green.

@Mamaduka Mamaduka added Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts [Type] Code Quality Issues or PRs that relate to code quality labels Mar 14, 2024
@Mamaduka Mamaduka self-assigned this Mar 14, 2024
@Mamaduka Mamaduka requested a review from spacedmonkey as a code owner March 14, 2024 11:48
Copy link

github-actions bot commented Mar 14, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: youknowriad <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@Mamaduka Mamaduka requested review from youknowriad and talldan March 14, 2024 11:48
@Mamaduka
Copy link
Member Author

Thanks, @youknowriad!

@Mamaduka Mamaduka merged commit 4970ec9 into trunk Mar 14, 2024
63 of 64 checks passed
@Mamaduka Mamaduka deleted the remove/check-in-load-php branch March 14, 2024 12:32
@github-actions github-actions bot added this to the Gutenberg 18.0 milestone Mar 14, 2024
@talldan
Copy link
Contributor

talldan commented Mar 15, 2024

Thanks, that's a very good point!

carstingaxion pushed a commit to carstingaxion/gutenberg that referenced this pull request Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants