[wp-trac] [WordPress Trac] #57096: Post Featured Image - Link settings

WordPress Trac noreply at wordpress.org
Wed Mar 1 22:05:17 UTC 2023


#57096: Post Featured Image - Link settings
--------------------------+-----------------------------------------------
 Reporter:  dhrumilk      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  6.1.1
 Severity:  blocker       |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration, coding-standards
--------------------------+-----------------------------------------------

Comment (by jrf):

 I haven't checked the issue or the actual correctness of the proposed
 solution, but would like to note that in the current patch `esc_attr()` is
 the wrong escaping function. As this should be a URL, `esc_url()` should
 be used.

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


More information about the wp-trac mailing list