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

Plugin changelog is not shown without install_plugins cap. #13

Open
szepeviktor opened this issue Jul 23, 2024 · 3 comments
Open

Plugin changelog is not shown without install_plugins cap. #13

szepeviktor opened this issue Jul 23, 2024 · 3 comments

Comments

@szepeviktor
Copy link
Owner

szepeviktor commented Jul 23, 2024

@johnbillion Could it be that showing changelog on the Plugins page needs install_plugins cap.?

Link: "View version 3.23.2 details"

Sorry, you are not allowed to access this page.

Is it a core bug?

@johnbillion
Copy link

Yes that could well be a bug

@szepeviktor
Copy link
Owner Author

@szepeviktor
Copy link
Owner Author

szepeviktor commented Jul 23, 2024

A work-around

document.querySelectorAll(
    "a[href*='/wp-admin/plugin-install.php']"
).forEach(function (anchor) { anchor.outerHTML = anchor.innerHTML; });

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

No branches or pull requests

2 participants