[wp-trac] [WordPress Trac] #23880: Minimum PHP version in Plugins

WordPress Trac noreply at wordpress.org
Mon Apr 1 23:15:14 UTC 2013


#23880: Minimum PHP version in Plugins
-----------------------------+------------------------------
 Reporter:  TJNowell         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  close            |
-----------------------------+------------------------------

Comment (by F J Kaiser):

 Replying to [comment:30 rmccue]:
 > (...) although it's horrible performance-wise, you could dynamically
 rewrite your classes to use non-namespaced names. (I actually have a
 proof-of-concept of this lying around somewhere.)

 I asked: ''"(...) please elaborate how you'd efficiently do that (...)"'',
 so this really isn't the answer. But nvm, it as well isn't where I wanted
 to get with my involvement in this discussion.

 WordPress already pushes devs to use a lot of ''not-state-of-the-art''
 code design patterns. This one (extremely minor) extension of the code
 base could bring us all (starting from users, to devs and even hosters) a
 big step towards a modern and competing environment and would allow us to
 pull a lot of code seamlessly into WP with just adding a header comment
 and calling it a plugin. This could so much open the door for more modern
 PHP versions - even on shared hosts. Let's see it positive, add this and
 try to prepare the environment for a switch to PHP 5.3+. One day we will
 need it. Let people better be prepared.

 And please don't be so ''trigger happy'' with adding the ''close''
 workflow keyword.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23880#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list