#23186 closed feature request (maybelater)
Standards Change Proposal
Reported by: | cportwood | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | |
Component: | WordPress.org Site | Keywords: | |
Focuses: | Cc: |
Description
Now that PHP includes namespaces I think it would be good if standards were updated so that at very least plugins are held in their own namespace.
Change History (4)
Note: See
TracTickets for help on using
tickets.
Until we make PHP 5.3 the minimum requirement — or, at the very least, a solid majority of WP sites run on PHP 5.3, which isn't the case (34%) — I don't think we should be recommending the use of namespaces at all, and listing it in our coding standards could prematurely alienate the majority of users who then might be stuck with 5.3-only plugins.
Not that I wouldn't discourage gentle nudging by plugin authors to get users to update to 5.3, but I don't think it's a good idea to formally push developers in that direction.