← All changes
|
src/schema-aggregator/application/schema-aggregator-announcement.php
+2
-1
27.5
→
trunk
View file →
| @@ -54,7 +54,8 @@ | ||
| 54 | 54 | * |
| 55 | 55 | * @return bool Whether this introduction should show. |
| 56 | 56 | */ |
| 57 | 57 | public function should_show() { |
| 58 | - return $this->current_page_helper->is_yoast_seo_page(); | |
| 58 | + return $this->current_page_helper->is_yoast_seo_page() | |
| 59 | + && $this->is_user_allowed( [ 'wpseo_manage_options' ] ); | |
| 59 | 60 | } |
| 60 | 61 | } |