WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Updates (4 posts)

  1. wackrtist
    Member
    Posted 1 year ago #

    Hello,

    I am currently in the process of creating my own admin back end. I wanted to, when WordPress releases it's update and you get the notification to update your WordPress to the new one, is there a specific download location it points to? What I am trying to achieve is this:

    -The customer gets the message to update their system
    -when they click on update, instead of the default location of where the files are, a hack to change the location so that they are pulling in from my server. What I would do is host the new version of WordPress on my server as it comes out.

    A secondary question to this:

    -If there is a way to hack the location and set it to your own server to be able to download the new WordPress versions as they are released, I would also like to know if there is a way that, along with the WordPress udpates, I can send my own updates as well to my customized admin theme or my front end theme if there are any updates.

    Thank you.

  2. michael.mariart
    Member
    Posted 1 year ago #

    First question... You probably can, but I don't think that it's a good idea to do that. What happens when you go on holidays the day before a majour security update is released and you don't set u pthe new version on your server for two weeks and all of yur clients are wondering why they can't update when the system tells them that they should. On top of that, why waste your own server resources and bandwidth when you can use the resources that WP uses here.

    Second question... You can sert up your own themes and plugins to auto update from your server. I've seen a few plugins that do this, so I know that it's possible. The only resource that I've found on how to do this is here, but I haven't tried it myself yet, so I can't verify how well it actually works.

  3. wackrtist
    Member
    Posted 1 year ago #

    Thanks for the help Michael, I took a look at the link, that looks like something I need. Well it will be a company run thing some I won't be by myself so definitely before every major release, we will need to test our themes and plugins to make sure they work with the latest. You are right though, to host all that and depending on how many clients build, it will definitely drag down the server. But we will need that, as we are trying to simulate a way to update the clients wordpress version along with our theme updates and plugin updates. Also, I want to figure out about how to push that update message to the users once we load our updates only. I appreciate your help on this. If you have any resolutions for the above do let me know.

  4. michael.mariart
    Member
    Posted 1 year ago #

    I still don't understand why you need to host the WordPress core updates. There's no compeling reason for this that I can see. If it's only about testing themes and plugins against the latest releases, why not get the latest versions through the WordPress SVN and do your testing before the versions are made publicly available? That's what every other developer does.

    The link that I gave you pretty much gives you what you need to host your own updates. What you need to do is build in the code thats in the article to your themes and plugins, and when WordPress does it's normal checks for updates it will make the request from your server to find out if your stuff has updates available, just like it does for themes and plugins from the WordPress site.

Topic Closed

This topic has been closed to new replies.

About this Topic