Explorar o código

Pages\Profile\View: Add nofollow for post/topics links

Visman hai 1 ano
pai
achega
c2be23603a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      app/Models/Pages/Profile/View.php

+ 2 - 0
app/Models/Pages/Profile/View.php

@@ -271,6 +271,7 @@ class View extends Profile
                         ]
                     ),
                     'title'   => __('Show posts'),
+                    'rel'     => 'nofollow',
                 ];
                 $fields['topics'] = [
                     'class'   => ['pline'],
@@ -285,6 +286,7 @@ class View extends Profile
                         ]
                     ),
                     'title'   => __('Show topics'),
+                    'rel'     => 'nofollow',
                 ];
             } elseif ($this->userRules->showPostCount) {
                 $fields['posts'] = [