Repository: wp-graphql/wp-graphql (language: php)

Issue:
Bug with get_plugins()
### Description

There is a bug within the Updates Class where is not correctly retrieving plugins from the mu-plugins directory when calling `get_plugins()`. This causes issues with plugin functionality and prevents some plugins from being recognized or loaded.
I think it is necessary to get also the list of mu-plugins with `get_mu_plugins()` and merge with the list of plugins.
`get_plugins` function only gets the plugins that are on /plugins path (Reference: https://developer.wordpress.org/reference/functions/get_plugins/), or don't even check for updates if the plugin is into Must Use.

### Steps to reproduce

1. Set up a Bedrock-based WordPress project:
Follow the Bedrock installation steps if you haven't already, which involves using Composer to manage WordPress setup.
`composer create-project roots/bedrock my-project
cd my-project
`

2. Put the `"wp-graphql/wp-graphql": "^1.29.3"` inside required dependencies on composer.json
3. The plugin needs to be passed into mu-plugins this way:
  ```
"extra": {
    "installer-paths": {
      "web/app/mu-plugins/{$name}/": [
        "type:wordpress-muplugin",
        "wp-graphql/wp-graphql"
      ],
    }
  }
```
4. Run `composer install`



### Additional context

_No response_

### WPGraphQL Version

^1.29.3

### WordPress Version

6.7.1

### PHP Version

>=8.1

### Additional environment details

_No response_

### Please confirm that you have searched existing issues in the repo.

- [x] Yes

### Please confirm that you have disabled ALL plugins except for WPGraphQL.

- [x] Yes
- [x] My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.


Discussion / hints:
@ermalkonjufca1 thanks for reporting this. Will look into it, but feel free to open a PR if you believe you have a fix. 
@ermalkonjufca1 I was able to reproduce this. I believe in your reproduction steps you meant `v1.30.0` instead of `v1.29.3`, correct?

As the PHP file you mentioned is new as of v1.30.0. (see: https://github.com/wp-graphql/wp-graphql/pull/3272/files#diff-777a1ef859fd348b9c8ee9b5a9300945f0db957ce82fc44671bce2fea30a69ab)

Anyway, I believe I have a fix. Will open a PR momentarily. 



Fix patch:
diff --git a/src/Admin/Updates/Updates.php b/src/Admin/Updates/Updates.php
index d0f7a59f4..615d7cb70 100644
--- a/src/Admin/Updates/Updates.php
+++ b/src/Admin/Updates/Updates.php
@@ -136,8 +136,12 @@ public function register_assets(): void {
 	 * Disables plugins that don't meet the minimum `Requires WPGraphQL` version.
 	 */
 	public function disable_incompatible_plugins(): void {
+
+		// Get the plugin data.
+		$plugin_data = get_plugin_data( WPGRAPHQL_PLUGIN_DIR . '/wp-graphql.php' );
+
 		// Initialize the Update Checker.
-		$update_checker = new UpdateChecker( (object) get_plugins()['wp-graphql/wp-graphql.php'] );
+		$update_checker = new UpdateChecker( (object) $plugin_data );
 
 		// Get the incompatible plugins.
 		$incompatible_plugins = $update_checker->get_incompatible_plugins( WPGRAPHQL_VERSION, true );


Test patch: