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

Tweak: Use getDevicePreview #621

Closed
wants to merge 1 commit into from

Conversation

tomusborne
Copy link
Owner

This uses the new (in WP 6.5) getDevicePreview function to get the editor device preview.

It falls back to the old experimental function for users who aren't using 6.5, yet.

@tomusborne tomusborne added the refactoring Refactoring, minor code changes label Jul 2, 2024
@tomusborne tomusborne added this to the 3.5.0 milestone Jul 2, 2024
@tomusborne tomusborne requested a review from iansvo July 2, 2024 15:43
@tomusborne
Copy link
Owner Author

Closed in favor of #623

@tomusborne tomusborne closed this Jul 2, 2024
@tomusborne tomusborne deleted the tweak/use-get-device-preview branch July 25, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Refactoring, minor code changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants