xwp / unsplash-wp

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

Feature image not selected in classic editor media modal #215

Open douglas-johnson opened 3 years ago

douglas-johnson commented 3 years ago

Bug Description

When using the classic editor, if you click the feature image in order to edit or update it, the image is not selected in the media library tab. This makes the feature image hard to track down, especially in older posts where the feature image would require scrolling or searching to find.

Expected Behaviour

A previously selected feature image should be selected, indicated by a border with a checkmark, and the details should be available in the media modal's sidebar.

Steps to reproduce

  1. Go to a post that uses the classic editor and has a feature image.
  2. Click on the feature image.
  3. See error.

Screenshots

Screen Shot 2020-10-07 at 9 56 41 AM Screen Shot 2020-10-07 at 9 55 30 AM

Additional context


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