Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #48022, comment 20


Ignore:
Timestamp:
10/17/2019 10:16:51 PM (6 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48022, comment 20

    initial v1  
    88At a glance, not all of the `make_clickable()` matches need the `rel="ugc"` attribute. If the content in question is not user-generated, it might not be appropriate.
    99
    10 What about just adding it for comments for now by checking if `comment_text` is current filter, and adding a `make_clickable_rel` filter to customize this behavior? [attachment:"48022.6.diff"] implements that.
     10What about just adding it for comments for now by checking if `comment_text` is the current filter, and adding a `make_clickable_rel` filter to customize this behavior? [attachment:"48022.6.diff"] implements that.