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

Hide the Try Gutenberg callout #1

Closed
pento opened this issue Jul 25, 2018 · 5 comments

Comments

Projects
None yet
3 participants
@pento
Copy link
Member

commented Jul 25, 2018

We should hide the Try Gutenberg callout all the time, as it's kind of confusing to still be offering Gutenberg when folks have opted out.

It currently isn't being hidden if you have the Classic Editor plugin installed, but Gutenberg isn't.

The remove_action( 'try_gutenberg_panel', 'wp_try_gutenberg_panel' ); call needs to be moved to the top of the function.

@pento

This comment has been minimized.

Copy link
Member Author

commented Jul 25, 2018

Another option is to simply hide the panel, but not remove it entirely.

update_user_meta( get_current_user_id(), 'show_try_gutenberg_panel', 0 );

@danielbachhuber

This comment has been minimized.

Copy link
Member

commented Jul 25, 2018

Looks like this was fixed in 3cf2f36 ? I can't reproduce this issue on trunk. When the Classic Editor plugin is enabled, the Try callout doesn't display.

@earnjam

This comment has been minimized.

Copy link

commented Jul 25, 2018

@danielbachhuber The Try callout is only on the 4.9 branch and not in trunk

@danielbachhuber

This comment has been minimized.

Copy link
Member

commented Jul 25, 2018

Sorry, I meant RC1, not trunk.

@pento

This comment has been minimized.

Copy link
Member Author

commented Jul 25, 2018

Yeah, 0.4 fixed it, I just hadn't closed this ticket. 🙂

@pento pento closed this Jul 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.