xwp / unsplash-wp

GNU General Public License v2.0
9 stars 3 forks source link

An error message is presented to the user when the import action fails due to WP Storage limit reached/exceeded #146

Open bmattb opened 4 years ago

bmattb commented 4 years ago

Feature description

As a user I expect that if the plugin is unable to auto-import image assets into the site's WordPress Media Library due to file size storage limitations (ie: exceeding the total disk quota) then the following would happen:

  1. The insertion of the selected image into the post and/or the sites' Media Library would be prevented
  2. Content post/page and/or Media Library would not be updated with the selected image (as we don't have a local fallback image)
  3. User would be presented with an error message stating "Sorry, you have used all of your storage quota of " (core message)

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry