Open ipajen opened 7 hours ago
Caused by rewrite exclusion:
class AspirePress_ApiWordpressOrgRewriteRule implements AspirePress_RewriteRuleInterface
{
use AspirePress_RewriteRuleTrait;
public function __construct(string $apiDestination)
{
$this->setHostRewriteRule('api.wordpress.org', $apiDestination);
$this->setExcludedPathRewriteRule('/plugins/info/1.2/');
}
}
if I go to /wp-admin/plugin-install.php only a call is made to Wp and not to AP
plugins_api() wp-admin/includes/plugin-install.php:173 WP_Plugin_Install_List_Table->prepare_items() wp-admin/includes/class-wp-plugin-install-list-table.php:242