[wp-trac] [WordPress Trac] #36640: Customize: get_custom_logo should allow the image tag to be filtered independently

WordPress Trac noreply at wordpress.org
Sat Nov 30 19:29:44 UTC 2019


#36640: Customize: get_custom_logo should allow the image tag to be filtered
independently
------------------------------------+---------------------
 Reporter:  achbed                  |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  5.4
Component:  Customize               |     Version:  4.5
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------

Comment (by dlh):

 Filtering the image attributes was suggested by the reporter in comment:2
 as a simpler approach to apply the modifications they were looking for.

 The title, description, and comment:1 also referenced the image tag
 specifically, so I took it to be the focus of the request, but perhaps
 that was mistaken.

 For the `itemprop` example, at least, being able to modify the attributes
 array seems to me like it would be simpler than modifying the HTML content
 within the `<a>`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/36640#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list