Pages\Profile\View: Add nofollow for post/topics links
This commit is contained in:
parent
fadf4098ba
commit
c2be23603a
1 changed files with 2 additions and 0 deletions
|
@ -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'] = [
|
||||
|
|
Loading…
Reference in a new issue