[wp-trac] [WordPress Trac] #37750: Cropping custom logo should preserve attachment properties
WordPress Trac
noreply at wordpress.org
Tue Mar 22 14:44:53 UTC 2022
#37750: Cropping custom logo should preserve attachment properties
--------------------------------------+----------------------------
Reporter: flixos90 | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.0
Component: Media | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: accessibility
--------------------------------------+----------------------------
Comment (by antonvlasenko):
Steps to test this PR:
1. Activate a non-block theme like `Twenty Twenty-One`.
2. Go to the `Media Library`.
3. Upload a new image to the media library.
4. Set attachment properties like `Alternative Text`, `Title`, `Caption`,
`Description`.
5. Go to the `Appearance -> Customize` page.
6. Go to the `Site Identity`, click on the `Select Logo`.
7. Set a new cropped logo for the theme using the image you uploaded.
8. Go to the `Media Library`.
9. Open the last (cropped) image.
10. Make sure that the original attachment properties (i.e. `Alternative
Text`, `Title`, `Caption`, `Description`) have been copied over to the
cropped image.
11. Repeat steps 2-3.
12. Reset all attachment properties (leave the fields empty).
13. Repeat steps 5-9.
14. Make sure that the `Title` field contains name of the cropped file.
15. Make sure that the `Description` field contains url of the cropped
file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37750#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list