Skip to content

Hide the "This is experimental WordPress" notice on click - #1082

Merged
adamziel merged 2 commits into
trunkfrom
hide-experimental-notice
Mar 5, 2024
Merged

Hide the "This is experimental WordPress" notice on click#1082
adamziel merged 2 commits into
trunkfrom
hide-experimental-notice

Conversation

@adamziel

@adamziel adamziel commented Mar 5, 2024

Copy link
Copy Markdown
Collaborator

Removes the "This is a cool fun experimental WordPress" notice either when it's clicked, or after 20 seconds of using Playground. Once hidden, a cookie is set to prevent the notice from showing up again.

Testing instructions

  • Open Playground
  • Click the notice, confirm it got hidden
  • Refresh the page, confirm it isn't there
  • Open Playground again in a private mode
  • Wait 20 seconds and confirm the notice gets hidden

CleanShot 2024-03-05 at 10 31 07@2x

Closes #1076

cc @ellatrix

Removes the "This is a cool fun experimental WordPress" notice either
when it's clicked, or after 20 seconds of using Playground. Once hidden,
a cookie is set to prevent the notice from showing up again.

 ## Testing instructions

* Open Playground
* Click the notice, confirm it got hidden
* Refresh the page, confirm it isn't there
* Open Playground again in a private mode
* Wait 20 seconds and confirm the notice gets hidden

Closes #1076
@adamziel
adamziel merged commit f9379b3 into trunk Mar 5, 2024
@adamziel
adamziel deleted the hide-experimental-notice branch March 5, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment