-
Notifications
You must be signed in to change notification settings - Fork 39
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
Check upgrade notice in plugin readme #392
Check upgrade notice in plugin readme #392
Conversation
ea3f1dc
to
d52fd1a
Compare
Is this related to plugin requirements? If so, could you please provide the URL? I couldn't find it in the |
I took reference from official readme file. https://wordpress.org/plugins/readme.txt & https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/
|
Per WP directory plugin list there is more then 30k+ plugins that have The current approach pass for this upgrade notice 🤔 Plugin: Redirection
|
Correct, having a section itself is not a requirement, but if there is one provided, the example readme suggests using max 300 characters. This is probably more a question for the plugin review team, though upgrade notices are not really a thing on initial submission, so it won't really apply there. The question also is whether this 300 character limit is still correct and enforced.
@mukeshpanchal27 I think the 300 characters limit is per upgrade notice per version, not for the whole section. From what I can see this change here only looks at the first notice, not each of them individually. So that would need to be improved in the PR to make it more robust. |
987560e
to
9a9871a
Compare
PR updated. |
@foosantos Will this be worth adding to the check? It is not useful for the initial plugin submission though. But could be helpful when the plugin is updated. |
Hi @ernilambar — I'm going to check with the team on this one. Thanks for working on it. |
d06b7ba
to
c42a2a3
Compare
cc @bordoni |
Tests are failing on 8.1, lets get that resolved. But yest, I like that change. |
5cbff9d
to
c3efd91
Compare
Since it's a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything seems OK!
c3efd91
to
761b3aa
Compare
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
If readme file has upgrade notice is longer than 300 characters then
WARNING
will be shown.