[wp-trac] [WordPress Trac] #60347: wp_kses breaking text fragments links

WordPress Trac noreply at wordpress.org
Thu Mar 27 13:33:30 UTC 2025


#60347: wp_kses breaking text fragments links
-------------------------------------------------+-------------------------
 Reporter:  asafm7                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests changes-requested     |     Focuses:
  has-testing-info                               |
-------------------------------------------------+-------------------------

Comment (by shanemuir):

 @SirLouen thank you for your test report.

 I've updated the PR to allow for disabling text fragments. We can add
 logic to allow for time based fragments but after a quick test `wp_kses`
 doesn't impact these.

 I think you are right in that these are not protocols and maybe would be
 better worked in a more specific function.

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


More information about the wp-trac mailing list