WordPress-iOS icon indicating copy to clipboard operation
WordPress-iOS copied to clipboard

Incorrect label on button when scheduling a post with a past date

Open jostnes opened this issue 1 year ago • 0 comments

Expected behavior

If the date is scheduled in the past, the button should not be updated and continue to show "Publish" / "Publish Now" as the post will be published after tapping those buttons.

Internal discussion: p1689137177286149-slack-C0180B5PRJ4

Actual behavior

When scheduling a post in the past (which is currently possible), the button on the post is updated from "Publish" and "Publish Now" to "Schedule" and "Schedule Now". This is only happening on iOS and not on Web / Android

Steps to reproduce the behavior

  1. Create a post
  2. Go to post settings and update publish date to the past
  3. See that the button on post changes to Schedule and Schedule Now
  4. Publish post
  5. See that notice shows Post updated

Screen recording:

https://github.com/wordpress-mobile/WordPress-iOS/assets/17252150/0972bd8e-174b-4fc3-8696-2b98abf04b43

Tested on [device], iOS [version], Jetpack iOS / WordPress iOS [version]

iPhone 13 Pro, iOS 16.5.1, v22.7.0.1

jostnes avatar Jul 12 '23 08:07 jostnes