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

Add notice about visibility in feeds to post edit screen when site is in Coming Soon mode #546

Open
wants to merge 7 commits into
base: production
Choose a base branch
from

Conversation

timiwahalahti
Copy link
Collaborator

Modifies the existing notice shown when editing posts when Coming Soon mode is enabled to warn about posts being visible on RSS and WordPress.org profile feeds. Also adds the same notice to Gutenberg block editor.

Fixes #540

Props nao, @ePascalC, @CdrMarks

Screenshots

New notice on classic editor

New notice on the block editor

How to test the changes in this Pull Request:

  1. Switch Coming Soon mode on for some WordCamp site
  2. Go to create a new post with the classic editor
  3. Go to create a new post with the block editor

Copy link
Contributor

@ryelle ryelle left a comment

Choose a reason for hiding this comment

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

It's working in general, but a bit overzealous 🙂 Can you add some conditionals to check for the block editor & post type?

@timiwahalahti
Copy link
Collaborator Author

Took a fresh look and seems to be working as expected. Ready for the review!

@timiwahalahti timiwahalahti marked this pull request as ready for review July 19, 2023 09:44
@timiwahalahti
Copy link
Collaborator Author

Closes #600 when merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add notice about visibility in feeds to post edit screen when site is in Coming Soon mode
3 participants