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

Update MainDashboardButton documentation #57870

Closed
afercia opened this issue Jan 16, 2024 · 0 comments · Fixed by #64753
Closed

Update MainDashboardButton documentation #57870

afercia opened this issue Jan 16, 2024 · 0 comments · Fixed by #64753
Assignees
Labels
[Status] In Progress Tracking issues with work in progress [Type] Developer Documentation Documentation for developers

Comments

@afercia
Copy link
Contributor

afercia commented Jan 16, 2024

Description

To my understanding, the edit-site MainDashboardButton was removed in #45149 so that this Slot is only used in the post editor.

However, the documentation still refers to the post editor and site editor and contains example code for the site editor. See:
https://github.com/WordPress/gutenberg/blob/b8c177d255cf0b8bab7afa82bfbd40f93e69277f/docs/reference-guides/slotfills/main-dashboard-button.md

Cc @youknowriad

Step-by-step reproduction instructions

N/A

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [Type] Developer Documentation Documentation for developers
Projects
None yet
2 participants