You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Avoid Naming Collisions section of the Best Practices page in the Plugin developer handbook includes the options to use prefixes, and classes, but not namespaces, to avoid naming collisions.
We do have a section on using namespaces in our coding standards, so it makes sense to add this to our plugin developer handbook as well.
Add a section on the use of namespaces as an option, after the prefix section. Include details on how to create good namespaces based on the WordPress coding standards
The text was updated successfully, but these errors were encountered:
I am working on other tasks at the moment, and then I'm away for a week, and then it's Christmas/New Year, but I'll do my best to get a PR ready for review before the end of the year.
Issue Description
The Avoid Naming Collisions section of the Best Practices page in the Plugin developer handbook includes the options to use prefixes, and classes, but not namespaces, to avoid naming collisions.
We do have a section on using namespaces in our coding standards, so it makes sense to add this to our plugin developer handbook as well.
URL of the Page with the Issue
https://developer.wordpress.org/plugins/plugin-basics/best-practices/
Section of Page with the issue
The section Avoid Naming Collisions
Why is this a problem?
It doesn't include namespaces as a solution
Suggested Fix
Add a section on the use of namespaces as an option, after the prefix section. Include details on how to create good namespaces based on the WordPress coding standards
The text was updated successfully, but these errors were encountered: