[wp-trac] [WordPress Trac] #33381: Strategize the updating of minimum PHP version.

WordPress Trac noreply at wordpress.org
Sun Feb 14 21:31:56 UTC 2016


#33381: Strategize the updating of minimum PHP version.
-------------------------------------------------+-------------------------
 Reporter:  alexander.rohmann                    |       Owner:
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  maybelater
 Keywords:  needs-codex dev-feedback 2nd-        |     Focuses:
  opinion                                        |
-------------------------------------------------+-------------------------

Comment (by pedroghandi):

 Hope you don't mind an opinion of a small plugin dev.

 with every wp release i'm invested in keeping up with the codebase. i get
 email reminders to test and make it compatible with the latest wp.

 but then I read these discutions, treating the end users as mindless ones.
 Users '''should''' be responsible for keeping their sites updated. Press
 "update" for wp, themes, plugins and hosting features. It isn't that hard
 to flick the switch. It's the least they '''can''' do.

 I already refrain from using new syntax, new php features, new functions.
 I have to conditionally run some code for >5.4. Should the need arise, how
 many EOL versions we need support?

 Today I got a user saying that she tested it in php7 and it threw the

 ''"Deprecated: Methods with the same name as their class will not be
 constructors in a future version of PHP"''.

 It was on my to-do list, and this just makes me happy that there's
 feedback. I don't mind putting a extra effort into it.

 If a user doesn't know that php5.4 is EOL, we should warn them. Make it
 obvious, explain why and will be the benefits of it. Maybe detect who is
 the host and indicate the host guide to upgrade php versions. If its
 cpanel, it can't be easier.

 If you won't, plugin devs probably will. I already show a warning to users
 that use wp<4.0, it isn't that hard to warn them about '''wrong''' php
 versions.

 thanks,
 p.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33381#comment:67>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list