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

Rename base plugin file to constant add-settings-links.php #6

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

BrianHenryIE
Copy link
Collaborator

Versioning of the plugin is already handled by Git and by the plugin header: Version: 1.7.3.

If you were to continue renaming the plugin file each time, the plugin would get disabled each time it is updated. See the active_plugins option key:

array (
  0 => 'Add-Settings-Links/add-settings-linksv9.php',
  1 => 'hello.php',
)
Screenshot 2024-12-31 at 10 10 12 AM

Also, for referencing the plugin file in scripts, e.g. the i18n creation, it is much easier to have the name stay constant.

@jazir555 jazir555 merged commit bfae333 into jazir555:main Jan 1, 2025
1 check passed
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