WordPress.org

Ready to get started?Download WordPress

Ideas

automated update

  1. johnbakeronline
    Member

    12345

    It would be good to have updates automated. So that we only need one click and the program deactivates the plugins and goes ahead and installs the new files, retaining the users settings and data and then activates the settings again.

    Posted: 7 years ago #
  2. Benoit Catherineau
    Member

    12345

    This is a great idea !

    An automated update like Firefox (this example is the best) will be a great step for all wordpress users.
    A one-clicked-update will wonderfull. :)

    Posted: 7 years ago #
  3. amessinger
    Member

    12345

    For this to work (at all) it would have to go hand-in-hand with the automated plugin updates and notifications discussed elsewhere. Something like this:

    1. WordPress reads an RSS feed from WP.org, and sees that an update to the core system is available.
    2. WordPress checks the status of all installed plugins, their compatibility with the new version, and the availability of updates.
    3. WP compares the information it receives, and:
      • If all plugins are compatible with the new version, WP says "A new version of WordPress (2.5) is now available. Click here to upgrade automatically."
      • If there is a plugin incompatibility, but an update to the plugin is available, you get "A new version of WordPress (2.5) is available, but the installed version of the Magical Foo plugin needs to be updated first. Click here to upgrade your plugin."
      • If there's no new compatible plugin version: "A new version of WordPress (2.5) is available, but one of your installed plugins is incompatible with the upgrade. Click here for more information."
    Posted: 7 years ago #
  4. adamrice
    Member

    On the face of it, this is a great idea, but I've hacked on my copy of WP, and would be unhappy if an auto-update overwrote a custom function I created.

    Yeah, I probably should have done it as a plug-in, but I knew just enough to do what I did.

    This doesn't make an auto-updater impossible, it just means that the updater would need to do something like check a hash of the file before changing it to make sure it hadn't been hacked on.

    Posted: 7 years ago #
  5. amessinger
    Member

    12345

    That's one of the reasons I think there should be a "click here to upgrade" link instead of having the process fully automated. It gives users a choice, and gives them a chance to make any preparations necessary before going through with an upgrade.

    In your case, for example, you might want to turn your customization into a plugin that works with the new version. Once that was done, you could go forward with the upgrade process.

    Posted: 7 years ago #
  6. DanAtkinson
    Member

    amessinger, good logic on the update process!

    adamrice's problem could be circumvented by having Auto-Update as an setting in the options menus. That way, WP-hackers won't ruin their work, and those folks with dodgy setups won't have to worry about the ocassional, but inevitable security issues.

    Posted: 7 years ago #
  7. foolswisdom
    Staff

    12345

    This is similar to
    Idea: Easy Updating of WordPress
    http://wordpress.org/extend/ideas/topic.php?id=44
    and that "idea" seems to have more momentum.

    Posted: 7 years ago #
  8. Jonathan Landrum
    Member

    12345

    It could svn if there was a separate repository for stable releases. The script could just check for changes and only download the updates. So if you had hacked functions or something and the update was elsewhere, your hack stays. But giving the user the option to update is a definite must. Perhaps the script could list on the Dashboard what changes are available.

    Posted: 7 years ago #
  9. michaelper22
    Member

    12345

    It could svn if there was a separate repository for stable releases. The script could just check for changes and only download the updates. So if you had hacked functions or something and the update was elsewhere, your hack stays. But giving the user the option to update is a definite must. Perhaps the script could list on the Dashboard what changes are available.

    Now there's a smart idea. Thisi s functionally similar to SMF's updating system, which basically installs the patches as mods (for those not familiar wit SMF, the mod engine will automatically edit files for you).
    Perhaps the WP update engine could work as follows:

    1. Check for SVN changes, or some other update format.
    2. Tell user about it, and incompatible plugins.
    3. User begins update process.
    4. WordPress checks for file permissions and other pre-update factors if any.
    5. User hits the big go btton (LMAO) and WordPress deactivates all plugins, gets to work editing files, and reactivates plugins when done.
    6. Gives a nice friendly message to user saying it's all done :)

    I know it sounds complicated but it's an awesome idea. Any supporters?

    Posted: 7 years ago #
  10. Oceanwatcher
    Member

    12345

    I support this idea and hope we can get a little feedback from someone close to the core team on this. These ideas must have crossed their mind already?

    From a security point of view, this is probably the one thing that can improve the general security of all WordPress installations out there the most. What good is a security update if it is not beeing installed?

    The installation of updates today are way to complicated. Easy for anyone used to programming, but for someone that just want to run their blog under their own domain, it is a problem. This point can probably be argued to death, but I have a feeling that there are more "old" installations out there than there are installations updated with the latest release.

    Posted: 7 years ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    253 Votes
  • Status

    This idea has been implemented