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

Updated Plugin Headers #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

garretthyder
Copy link

Added 'Requires at least' to be 4.9.6 as the privacy tools are a requirement.
Removed the Text Domain as we're requiring > 4.6 we don't require that header.
Reference - https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains

Note: We can also add the 'Requires PHP' header to indicate minimum PHP but I feel we have no specific requirements beyond what WP has so no need for that header.

Added 'Requires at least' to be 4.9.6 as the privacy tools are a requirement.
Removed the Text Domain as we're requiring > 4.6 we don't require that header.
Reference - https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains

Note: We can also add the 'Requires PHP' header to indicate minimum PHP but I feel we have no specific requirements beyond what WP has so no need for that header.
I noticed that the readme.txt does define a minimum PHP so have added here as well.
@garretthyder
Copy link
Author

After reviewing the Readme.txt I realized we defined a required PHP there so might as well do so here too.

@garretthyder
Copy link
Author

@audrasjb one other minor thing I noticed between the readme and plugin header is the license stuff.
In the readme we use 'GPLv2 or later' and in the plugin header it is 'GPL-2.0+'.
As well on the readme we use the html version of the license while on the plugin header we use the txt version.
We should just be consistent between the two. Let me know what you prefer and I can include in this PR.

* Author: audrasjb
* Author URI: https://jeanbaptisteaudras.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: gdpr-data-request-form
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't agree removing this. I think this should serve as a reference.

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

Successfully merging this pull request may close these issues.

2 participants