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

REST API: Do not set sidebar status to 'active' when using classic theme #46966

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

noisysocks
Copy link
Member

What? Why? How?

Fixes an error in #45509. See #45509 (comment).

The previous code would set status = 'inactive' on the sidebar when using a block theme and status = 'active' when using a classic theme. It is correct to set status = 'inactive' when using a block theme but if using a classic theme then status should not be changed.

Testing Instructions

Same as in #45509.

@noisysocks noisysocks added [Type] Bug An existing feature does not function as intended Backport to Gutenberg Minor Release Pull request that needs to be backported to a Gutenberg minor release labels Jan 8, 2023
@noisysocks
Copy link
Member Author

@justintadlock: Could we please cut a Gutenberg 14.9.1 release with this PR in it?

Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @noisysocks!

@fullofcaffeine fullofcaffeine merged commit 0592a37 into trunk Jan 9, 2023
@fullofcaffeine fullofcaffeine deleted the fix/sidebar-status branch January 9, 2023 18:31
@fullofcaffeine fullofcaffeine added this to the Gutenberg 14.9 milestone Jan 9, 2023
@DaisyOlsen DaisyOlsen removed the Backport to Gutenberg Minor Release Pull request that needs to be backported to a Gutenberg minor release label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants