10 Comments

  1. rick

    Oh COME ON. 5.3 isn’t even officially supported. Move to 5.6. Use the market power to set a bar vs crawling over one years after the race is over. Admittedly, this is something for WP itself to do more than Buddypress, but this is getting a bit silly.

    As for the pre 5.6 people… they can upgrade. Or more precisely, their hosts can (and will if WP lays out a timeline for a move to 5.6). When I read “For many (most?) people running BuddyPress, updating PHP is emphatically not a simple task,” Gorges said.” it makes me wonder – do most people even do their own updates? I’d bet not, that they use hosts who manage that behind the scenes… so it’s irrelevant whether the BP user themselves is comfortable upgrading PHP.

    Report

    • René Hermenau

      Agree! WordPress should use its market share to “force” hoster to update their systems. WP is the only CMS which has the power to make the web a better and more secure place. Unfortunately the average user who’s server is not able to run latest buddypress or wp version would rate a plugin badly and so hurt its reputation so i understand when they are not pushing to 5.6. If we had a mechanism to delete ratings by stupidity more plugins would require a higher php version, thats a fundamental issue.

      Report

      • mark k.

        It is a misconception that this is somehow the hosters fault, when in reality the hosters probably need to put effort into supporting such an old enviroment that literaly you can not achieve now. Go and try to find a copy of 5.2 you can install by yourself. I have tried and it is mission impossible.

        @Rarst pointed correctly to how WordPress itself is the cause for people running old versions https://www.rarst.net/wordpress/technical-responsibility/ by hiding information and choice from the wordpress users. No one knows if users prefer to stay on that old versions, as they are never presented with the choice. For hosters it is probably a nightmare to support them, but they have to because of wordpress.

        It is not like this move is even meaningful unless BP will be refactored to use 5.3 idioms over the current 5.2. Without refactoring all you will get is two different pieces of code that a developer needs to have different mental approach in order to read and understand them, and this is not a good software development practice.

        Report

      • M

        I still think it’s the hosters’ fault. But as said by René, WordPress should use its marketshare as a force rather than as a curse. WP should have upgraded its requirement to 5.3 before the PHP7 release. While I do not advocate for a straight bump to version 5.6, I do think that 5.4 should be the minimum nowadays.

        Report

      • Paul Gibbs

        Mark — to address your comments:

        It is not like this move is even meaningful unless BP will be refactored to use 5.3 idioms over the current 5.2.

        There are a few small parts in BuddyPress which we’ll update to use PHP 5.3 stuff. 98% of the current codebase is not going to be refactored to use PHP 5.3 “just because” we’ve changed the minimum requirements; it creates a lot of work.

        We don’t have enough time or contributors to refactor the entire codebase, “just because”. If we did, maybe we would.

        Our entire new REST API will use PHP 5.3 stuff.

        Report

      • mark k.

        As I said it is a bad confusing practice to have non uniform code. If core rest API can be written in 5.2 syntax I can’t see why BP can’t.

        so REST API for core is something that you have to do with 5.2 syntax but the same code moved to BP will need to be changed to 5.3 (and it is worse going the other direction)? and even in BP similar code will be written in different ways. This is just bad software engeeniring.

        +1 for dropping 5.2 to reduce support effort, but that is all it should have been about.

        Report

    • Paul Gibbs

      As you say, this is something for WordPress to address. BuddyPress’ reasoning for the version we picked is well-described in this article.

      Report

  2. Stephen Cronin

    I think the WordPress project should do more to push people to move to more modern version of PHP (eg a “talk to your host nag” at the very least), but that’s an issue for WordPress core not BuddyPress. The BuddyPress team should be given credit for taking this move before WordPress core. There is a line they need to walk, but they could have played it safe and stuck with 5.2 support and they chose not to. A small step perhaps, but an important one.

    Report

Comments are closed.

%d bloggers like this: