humanmade / humanmade/repeatable-posts
Repeating post is marked as such even though a Repeat post is not created for it (due to be scheduled in the past)
- Ngôn ngữ chính
- PHP
- Star
- 48
- Fork
- 12
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
A Repeat post is created only if date of a Repeating post + it's schedule is in the future.
When you setup a post to be a Repeating post with a schedule such that a Repeat post date happens to be in the past (read example below), the Repeat post is not created. However, the Repeating post is marked as `Repeating`. This is confusing!
**Solution**: an error message should be displayed in such case while trying to save a post with a Repeating schedule. That post won't be saved as `Repeating` post.
Example: main post (that we're wanting to set as a Repeating post) is published on the 10th October and we're setting it to be a `Daily` Repeating post. So a daily repeat post would have been scheduled for the 11th October. However, if present time (when we're saving changes) is anything past the 11th October, say the 12th October - then Repeat post date is in the past and therefore it is not published.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Issue không nêu tệp hoặc test nào. Hãy bắt đầu bằng cách lần theo đường dẫn lưu của Repeating posts và logic tính ngày của Repeat post đầu tiên, sau đó tái hiện ví dụ về lịch hằng ngày với ngày lặp đã ở trong quá khứ. Hoàn thành khi thao tác lưu bị từ chối kèm theo lỗi và bài đăng không được đánh dấu là Repeating.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- php, wordpress
- Lĩnh vực
- backend, content
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 42/100