Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Loaded Plugins not shown in Site Health > Info > MU Plugins #15

Open
1 task done
joshuadavidnelson opened this issue Sep 22, 2023 · 2 comments
Open
1 task done

Comments

@joshuadavidnelson
Copy link

Description of the bug

The primary plugins screen shows all the loaded MU plugins, however I would expect the Site Health > Info > Must Use Plugins section does not show the plugins loaded by the MU Loader.

Reproduction instructions

  1. Go to Tools > Site Health
  2. Navigate to the "Info" tab
  3. Expand the 'Must Use plugins' section
  4. Plugins listed here do not include those loaded by the MU Loader

Expected behavior

The Site Health > Info > Must Use Plugins section should show the same list as the Plugins > Must Use section, including those loaded by this loader.

Environment info

MU Loader v1.3.1
WP v6.3.1

Relevant log output

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@bueltge
Copy link
Owner

bueltge commented Jun 11, 2024

Enhanced for the understanding, an example:

Three plugins in the mu-plugins directory:
image

The plugin page in the admin area:
image

The site health information miss ONE plugin in this case:
image

@bueltge
Copy link
Owner

bueltge commented Jun 11, 2024

The filter hook plugin_auto_update_debug_string should be the right point to enhance the missing information.
https://github.com/WordPress/WordPress/blob/0ed09d9b4b8d60240dfc3955e06ea380b9bfa013/wp-admin/includes/class-wp-debug-data.php#L1084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants