[wp-trac] [WordPress Trac] #61719: WP_HTML_Tag_Processor doesn't allow to set a valid image src

WordPress Trac noreply at wordpress.org
Tue Oct 15 11:29:32 UTC 2024


#61719: WP_HTML_Tag_Processor doesn't allow to set a valid image src
-------------------------------------------------+-------------------------
 Reporter:  ivanzhuck                            |       Owner:  dmsnell
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.6.2
Component:  HTML API                             |     Version:  6.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch fixed-major dev-reviewed   |     Focuses:
  commit                                         |
-------------------------------------------------+-------------------------

Comment (by Hrohh):

 You can set

 {{{
 $processor->set_attribute( 'src', "//:0" );
 }}}

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


More information about the wp-trac mailing list