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

“Schedule” displaying instead of “Publish” on new posts/pages #27251

Closed
hellofromtonya opened this issue Nov 24, 2020 · 6 comments
Closed
Labels
[Feature] Saving Related to saving functionality Needs Testing Needs further testing to be confirmed. [Package] Date /packages/date [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release

Comments

@hellofromtonya
Copy link
Contributor

hellofromtonya commented Nov 24, 2020

Describe the bug
When creating a new post or page, the "Schedule" button is displaying instead of "Publish". First reported by @melchoyce .

To reproduce
This is occurring locally and on https://wordpress.org/support/.

Steps to reproduce the behavior:

  1. Go to 'Posts.'
  2. Click on 'Add New'

Expected behavior
Should display the "Publish" button.

Screenshots
Screen Shot 2020-11-24 at 12 49 12

Editor version (please complete the following information):

  • WordPress version: 5.6-RC1
  • Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? Gutenberg plugin
  • If the Gutenberg plugin is installed, which version is it? 9.4.1

Timezone: Set to UTC+0, but Tammi notes timezone is actually UTC -4.

Additional context

Props to @desrosj and @karmatosed.

@talldan talldan added Needs Testing Needs further testing to be confirmed. [Feature] Saving Related to saving functionality labels Nov 25, 2020
@talldan
Copy link
Contributor

talldan commented Nov 25, 2020

I wasn't able to reproduce. I tried 5.5.3, latest 5.6 and also latest 5.6 with the latest code from the Gutenberg plugin active.

Not sure if it's related to timezones, I tried a few different settings for that.

I'll leave it open so it can get some further testing/debugging.

@talldan
Copy link
Contributor

talldan commented Nov 25, 2020

Possibly fixed by #26276.

@paaljoachim
Copy link
Contributor

Testing.

Locally using Desktop Server and Chrome.
Theme: Twenty Twenty One
WordPress version: 5.6 RC 1
Plugins activated: Gutenberg 9.4.1 and WordPress Beta Tester.
Timezone: UTC+0

Creating a new page. I click Publish. Go to the next step and the Publish button is seen.
Creating a new post. Same results as for new page.

Switched to UTC-4. Results are the same.

From the above testing I was not able to see any error where the word "Publish" was switched out with the word "Schedule".

@ockham
Copy link
Contributor

ockham commented Dec 2, 2020

FWIW, we've seen this reported by a number of users (and have been able to reproduce ourselves, albeit not consistently) on WordPress.com after upgrading to Gutenberg 9.4.1. See this issue: Automattic/wp-calypso#47938

@sirreal
Copy link
Member

sirreal commented Dec 2, 2020

I've been able to reproduce this by creating a site with the latest Gutenberg release. When the site timezone is set with a greater UTC offset than my browser time, the bug manifests. For example, browser time is UTC+1 and site time is UTC+14.

If the site time matches or has a lesser UTC offset than the browser, the bug does not manifest.

@david-szabo97
Copy link
Member

✔️ Fixed in #27550
➕ Regression tests are being added by #27558

ockham pushed a commit that referenced this issue Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Saving Related to saving functionality Needs Testing Needs further testing to be confirmed. [Package] Date /packages/date [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

No branches or pull requests

6 participants