[wp-trac] [WordPress Trac] #60524: Cropping site icon should preserve attachment properties
WordPress Trac
noreply at wordpress.org
Wed Feb 21 14:30:52 UTC 2024
#60524: Cropping site icon should preserve attachment properties
-------------------------------------+----------------------------
Reporter: afercia | Owner: rcreators
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.5
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: accessibility
-------------------------------------+----------------------------
Comment (by rcreators):
@joedolson, PR updated with custom header class as well. It was also
cropping the image without copying parent attributes.
About removing the create_attachement_object function from the site icon
class, I tried to find it on https://wpdirectory.net/, and found some
matches but cannot be sure if they are using from the site icon or their
own or from somewhere else. So right now we can leave them as it is.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60524#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list