[wp-meta] [Making WordPress.org] #5497: Flag threads with 'dofollow' link attributes for spam review

Making WordPress.org noreply at wordpress.org
Wed Nov 4 23:47:09 UTC 2020


#5497: Flag threads with 'dofollow' link attributes for spam review
----------------------------+-----------------------
 Reporter:  jonoaldersonwp  |       Owner:  dd32
     Type:  defect          |      Status:  accepted
 Priority:  high            |   Milestone:
Component:  Support Forums  |  Resolution:
 Keywords:  seo spam        |
----------------------------+-----------------------
Changes (by dd32):

 * owner:  (none) => dd32
 * status:  new => accepted


Comment:

 I went digging and found several examples, many flagged by the moderation
 team.

 We run a variant of
 [https://developer.wordpress.org/reference/functions/wp_rel_ugc/
 wp_rel_ugc()] on the forums but that doesn't remove the `dofollow` flag
 that's in there.. The variant we run was because `wp_rel_ugc()` didn't yet
 exist.

 It looks like the core `wp_rel_nofollow()` & `wp_rel_ugc()` needs to be
 enhanced to remove `dofollow`.

 Both core and the forums variant relies upon
 [https://developer.wordpress.org/reference/functions/wp_rel_callback/
 wp_rel_callback()] which doesn't have the ability to remove rel pieces, so
 I guess we'll probably have to end up inlining that function into our
 custom one to remove the dofollow item.

 All in all, this is not a WordPress.org-specific problem, and a core
 ticket should be made. We can workaround this on W.org through akismet
 spam protections, but we might as well also write the code and submit it
 to core.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5497#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list