Open Issues Need Help
View All on GitHubAI Summary: The task is to debug and fix a TypeError in the WordPress Plugin Check plugin. The error, `array_key_exists(): Argument #2 ($array) must be of type array, false given`, occurs in `Version_Utils.php` line 93 and is triggered when a WordPress API call fails due to network issues or other external factors. The solution likely involves robust error handling around the API call to gracefully handle cases where the API returns a non-array response.
A repository for the new Plugin Check plugin from the WordPress Performance and Plugins Team.
AI Summary: The WordPress Plugin Check plugin's CLI functionality needs to be updated to handle non-standard `wp-content` directory locations. Currently, it hardcodes `wp-content/` in several places (e.g., `cli.php#L51`), preventing correct operation when `WP_CONTENT_DIR` is defined differently than the default. The task involves refactoring the code to use the `WP_CONTENT_DIR` constant instead of the hardcoded path.
A repository for the new Plugin Check plugin from the WordPress Performance and Plugins Team.