[wp-trac] [WordPress Trac] #59682: Bug fix for rel attributes in social-link.php

WordPress Trac noreply at wordpress.org
Mon Oct 30 13:57:29 UTC 2023


#59682: Bug fix for rel attributes in social-link.php
--------------------------+------------------------------
 Reporter:  niallhotfoot  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.3.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by dmsnell):

 > if some other filter is running

 pardon for my miscommunication; I know that the HTML Tag Processor isn't
 running this kind of filter over the content, but if some other code in
 some other WordPress plugin is running one, it could be intercepting links
 //after// the Tag Processor has rendered and then removing the `rel`
 attribute.

 when you say "I dump the $processor` are you running something like
 `var_dump( $processor->get_updated_html() )`

 to mkae this easier you can reach out to me on Slack and we can chat about
 it.

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


More information about the wp-trac mailing list