← All changes
|
src/services/health-check/postname-permalink-runner.php
+1
-2
18.6
→
trunk
View file →
| @@ -26,9 +26,9 @@ | ||
| 26 | 26 | * |
| 27 | 27 | * @return void |
| 28 | 28 | */ |
| 29 | 29 | public function run() { |
| 30 | - $this->permalinks_contain_postname = ( strpos( get_option( 'permalink_structure' ), '%postname%' ) !== false ); | |
| 30 | + $this->permalinks_contain_postname = ( \strpos( \get_option( 'permalink_structure' ), '%postname%' ) !== false ); | |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * Returns true if permalinks are set to contain the post name. |
| @@ -38,5 +38,4 @@ | ||
| 38 | 38 | public function is_successful() { |
| 39 | 39 | return $this->permalinks_contain_postname; |
| 40 | 40 | } |
| 41 | 41 | } |
| 42 | - | |