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

WordPress Trac noreply at wordpress.org
Thu Mar 28 12:32:49 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:                   |
-----------------------------+------------------------------

Comment (by TJNowell):

 Replying to [comment:10 markoheijnen]:
 > I don't think we should implement this in core. To me a plugin should
 work on every WordPress installation. That to me does make a plugin good
 or not. Obviously stuff added to 5.3 and 5.4 is cool to use.
 >
 > The migration problem isn't one to fix. The reason is that you would
 need to check the PHP/MySQL version on every request to really do it well
 and that is a performance penalty.

 This is naive, while we'd like this in a perfect world, we don't live in a
 perfect world. PHP 5.3 offers solutions to problems that aren't fixable in
 5.2, name spacing being a major example. They weren't added on a whim.

 What's more, other libraries that a plugin might require weren't built for
 WordPress. What if I built a plugin that by its very nature required use
 of a library that was built with 5.3 in mind?

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


More information about the wp-trac mailing list