Automattic / Automattic/google-docs-add-on

No way to re-export a post that has been deleted from Wordpress

Open
#81 8 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
169
Forks
23
PR merge metrics
No merged PRs in 30d

Description

If you export a post to a Wordpress.org site using the add-on, and then go to the Wordpress wp-admin and delete that post, the add-on doesn't recognize that the post has been removed. So it still has an "update" button, but if you click "update" you get an error "unknown post".

I would like a way to export a document as a new draft even if it has been exported before (whether or not the previous exports were deleted).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the add-on's export and update actions, then inspect how it handles the WordPress response for a deleted post and the reported "unknown post" error. The change is complete when a previously exported document can be exported again as a new draft after its WordPress post is deleted.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wordpress
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.