Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#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:


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)

comment:1 @nacin3 years ago

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.

comment:2 @cportwood3 years ago

  • Resolution set to maybelater
  • Status changed from new to closed

I can certainly agree with that.

comment:3 @helen3 years ago

  • Milestone Awaiting Review deleted

comment:4 @SergeyBiryukov3 years ago

  • Component changed from Formatting to WordPress.org site
Note: See TracTickets for help on using tickets.