Skip to content

Commit

Permalink
# [HIGH] Cannot connect to really old WordPress installations (WordPr…
Browse files Browse the repository at this point in the history
…ess 5.5 and earlier)

Signed-off-by: Nicholas K. Dionysopoulos <nicholas@akeeba.com>
  • Loading branch information
nikosdion committed Sep 7, 2024
1 parent 4e0d354 commit 10b0317
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php die(); ?>
Akeeba Panopticon 1.2.3
================================================================================
# [HIGH] Cannot connect to really old WordPress installations (WordPress 5.5 and earlier)

Akeeba Panopticon 1.2.2
================================================================================
+ Optional environment variables-only configuration of containerized Panopticon [gh-696]
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Trait/SiteTestConnectionWPTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function testConnectionWordPress(bool $getWarnings = true): array
}

// Try to access wp/v2/plugins **authenticated**
[$url, $options] = $this->getRequestOptions($this, '/wp/v2/plugins?per_page=100');
[$url, $options] = $this->getRequestOptions($this, '/wp/v2/posts?per_page=100');
$options[RequestOptions::HTTP_ERRORS] = false;

$session->set('testconnection.step', 'Authenticated access (can I get information out of the API?)');
Expand Down

0 comments on commit 10b0317

Please sign in to comment.