Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Så här hanterar du automatiska updating av WordPress på ett bättre sätt

Letar du efter ett sätt att automatiskt hantera WordPress updates?

Updates är viktiga för säkerheten och stabiliteten på din WordPress webbplats, men manuell hantering av uppdateringar kan vara irriterande och tidskrävande.

I den här artikeln visar vi dig hur du bättre hanterar automatiska updates av WordPress.

How to Better Manage Automatic WordPress Updates

Varför behöver du bättre automatiska updates i WordPress?

Att hålla din WordPress website updated är extremt viktigt. Detsamma gäller alla tillägg och teman som är installerade på din website. Du måste installera updates för WordPress core, themes och tillägg för att få nya funktioner och bugfixar.

Läs mer i vår guide om varför du alltid bör använda den senaste versionen av WordPress.

WordPress uppdaterar sig själv automatiskt när en säkerhets- eller mindre version är available. Du kan också aktivera automatiska updates för större releaser, samt tillägg och themes.

WordPress updates

Men you may have notice that some of them are updated more frequently than others. Många populära tillägg uppdateras nästan varje vecka.

Vissa användare tycker att det är lite irriterande att varje gång de loggar in finns det nya updates available för WordPress core, ett eller flera tillägg eller deras theme. Det blir ännu mer tidskrävande när du hanterar flera WordPress webbplatser.

Det är därför många användare vill att WordPress automatiskt installerar updates för WordPress core, betrodda tillägg och themes. Men även om WordPress nu låter dig göra detta utan ett plugin, har du fortfarande inte full control över dina auto-updates.

Låt oss ta en titt på hur du kan ta total control över WordPress och minimalisera tiden som går åt till att installera updates.

Konfigurera Easy Updates Manager

Det första du behöver göra är att installera och aktivera pluginet Easy Updates Manager. Detta plugin ger dig fullständig control över att customize dina updates och håller även loggar över vad som uppdateras och när.

För mer detaljer, se vår Step-by-Step guide om hur du installerar ett WordPress plugin.

Efter aktivering måste du besöka Dashboard ” Updates Options page för att ställa in pluginet.

Enabling Automatic Updates With a Plugin

Den här page ger dig snabb åtkomst till att aktivera eller inaktivera updates för WordPress core, plugins, themes och översättningar. Standardinställningarna här kommer att fungera bra för de flesta websites.

Vi rekommenderar starkt att du aldrig stänger av updates för WordPress core, plugins eller themes. Det kommer att allvarligt äventyra säkerheten och hälsan på din site.

Konfigurera automatiska updates för WordPress, tillägg och teman

Easy Updates Manager allow you to quickly activate auto-updates for WordPress core, plugins, and themes from the Dashboard ” Updates options page.

Klicka bara på den blå knappen ”Auto update everything” i section ”Quick configuration actions”.

Auto Update Everything

Detta plugin tillåter dig också att select slå på automatiska updates för vissa tillägg eller themes. Om du gillar att selektivt slå på automatiska updates, klicka då på knapparna ”Choose per plugin” och ”Choose per theme”.

Nu ska vi visa dig hur du väljer vilka tillägg och themes som ska uppdateras automatiskt.

Konfigurera automatiska updates för valda tillägg och themes

Om du valde att aktivera automatiska uppdateringar för några tillägg individuellt, måste du byta till tabben ”Plugins” på Dashpanelen ” Updates options page.

Enable automatic updates for individual plugins

Här ser du en lista över alla tillägg som är installerade på din WordPress site. För att automatiskt uppdatera ett visst plugin klickar du bara på knappen ”On” under ”Automatic updates”.

När du går till tabben ”Themes” kommer du att se en lista över de themes som är installerade på din site.

Select which themes to automatically update

Du måste klicka på knappen ”On” under ”Automatic updates” för de teman som du vill ska uppdateras automatiskt.

Återgå till en tidigare version av ett tillägg eller theme

Inkompatibilitet mellan plugins och teman är de främsta anledningarna till att vissa användare tvekar när det gäller updating. Även om de flesta bra utvecklare testar sina tillägg grundligt kan det fortfarande finnas buggar som kan få din site att gå sönder.

Det första steget du bör ta för att skydda din website är att installera en lösning för backup av WordPress. Då kan du återställa hela din website om något går fel.

Att återställa din WordPress site från en backup kan dock vara en hel del arbete. Om du vet vilket plugin eller vilken theme update som orsakade problemet, är det enklare att bara rulla tillbaka den uppdateringen.

Det första du behöver göra är att installera och aktivera pluginet WP Rollback. För mer detaljer, se vår Step-by-Step guide om hur du installerar ett WordPress plugin.

Efter aktivering, gå tillbaka till Plugins page i WordPress dashboard. You will notice a new ”Rollback” alternativ under varje plugin installerat på din site.

The Plugins Page Now Has a New Rollback Link

Click on the ”Rollback” link will allow you to roll back your plugin to any previous version you want. Det kan också rulla tillbaka themes updates.

För detaljerade, Step-by-Step instruktioner, se vår guide om hur du återställer tillägg till WordPress.

Expertguider om updating av WordPress

Nu när du vet hur du bättre hanterar automatiska uppdateringar av WordPress kanske du gillar att se några andra guider relaterade till WordPress updates:

Vi hoppas att den här artikeln hjälpte dig att hitta ett bättre sätt att hantera automatiska WordPress updates på din webbplats. Du kanske också vill se vår guide om hur du ökar trafiken på din blogg eller våra expertval för användbara tools för att hantera och utveckla din WordPress-blogg.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

9 kommentarerLämna ett svar

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Dayo Olobayo says

    The WP Rollback plugin is what I will advise every WordPress website owner to have installed so they can easily revert to an earlier version should any malfunction come up after plugin updates.

  3. Jiří Vaněk says

    Personally, I have always turned off all automatic updates and prefer to manage updates myself. Why? I always make a backup first before updating because I’ve had the site stop working many times. Automatic updates are a big risk for me, which I don’t want to proceed with. You need to be very careful with them.

    • Dennis Muthomi says

      Same case here, I always avoid automatic updates. But, what I do is that I set up a staging environment then update the plugins there.
      If there’s no issue, I’ll push to the live website.

  4. Kelvin Lee says

    I agree with Mara to have the test before update, I manage many websites for my clients, I also worry about the auto update to the sites without notice, I can’t visit all the sites everyday and see any site is being broke down due to the update.

    I also agree update to latest version of the core, plugins and themes are must, I always think about whether it is wise to do auto update, I did experience one of my clients’ site was broke down due to the update, it took me several hours to find out the problem but still got complaint from client.

    What I am looking for, I prefer to have a staging website to ensure there is bug free if I update all the things before migrating to production site, at least clients won’t complain me about the site is broke and ask for compensation if there is SLA applied.

    Is there any health check plugins that can help to monitor all my WP sites and state all the version of WP core, plugins and themes for every sites in a summary table? if so, I can simply review the summary everyday and know how which site is necessary to have the update. I am sure this kind of plugins can help a lot of website developers. Does WPBeginner have such article?

    Auto update is good to protect the site if the ownership of the site is the guy who maintain it, otherwise it is an incubus to the developer when the site break down and suddenly a call to the developer while he/she is on holiday.

    Best regards,

    Kelvin.

  5. Mara Alexander says

    Very dangerous and sloppy suggestions in this post. Anyone with the least bit of experience with WordPress knows you always, ALWAYS test the plugin updates first before updating on a live site! And that goes double for themes.

    ”What to do if you’re updating?

    If you are installing an update of a plugin, any plugin, – especially when you have a webshop or are otherwise making money from your site – you should always test the new version first on a staging environment. Be aware of plugins with very little users and of plugins developed by people with limited WordPress experience. Of course, this plugin may just have the exact functionality you need, but these plugins will come with a higher risk of compatibility issues.”

    https://yoast.com/honest-truth-plugin-testing/

    Keeping WordPress core, plugins and themes updated is critical – but not something that should be done *blindly*, and using a plugin that does the updating for you is about as blind as it gets.

    And since your site is geared towards WordPress beginners, what havoc will be created when this automatic updater plugin you’re recommending updates all and there’s a plugin incompatibility that causes the site to crash?

    A beginner wouldn’t know how to fix that, they’ll just panic and blame their web host. And when the web host asks ”What plugins have you recently updated?” (if the web host assists at all with a WordPress issue), the website owner will answer ”I dunno….” Because they *don’t know.* They didn’t personally do the update, so they’re completely in the dark.

    Are you guys in such a hurry to churn out content that you’ve thrown good sense out the window? I’ve long recommended this site to my clients who are ”WordPress n00bs”, but I think I’m going to have to stop that. Lately you seem to be more interested in churning out quantity rather than quality.

    • Editorial Staff says

      Hi Mara,

      Thank you for leaving this comment. I really appreciate all user feedback.

      I definitely agree that it’s important to test the plugin updates before you push it live. However, the reality is majority of beginners DO NOT have a staging website or a local environment to do ”testing”. Even the intermediate DIY users do not have a proper workflow to test updates / tweaks.

      As for the issue with web host support, a capable tech support person can easily look into the changelog to see what was updated recently.

      Our goal at WPBeginner is to show user’s what’s possible and highlight the pros / cons. That’s why in this article, we have the section for Rollback which states: ”Plugin or theme incompatibilities is the major reason why some users are hesitant when it comes to updating.”

      Having helped as many WordPress users as we have, the case often is beginners setup their business website with WordPress and then go about doing their day to day business stuff (maintaining website isn’t one of those things).

      Overtime, you have websites that are running older versions of WordPress core, plugins, and themes with security vulnerabilities waiting to be exploited.

      This solution helps one pick and choose which plugins they want to auto-update or not. Maybe they just want to auto-update WordPress core’s major releases. Or maybe they can just use this plugin to get an email notification when a plugin or theme update is available.

      We never put out content for the sake of putting out content. Majority of our content is derived from user questions that we get through our contact form.

      As always, I appreciate you recommending folks to our helpful tutorials and I hope you’ll continue to do so in the future.

      Administratör

  6. Dave says

    Great tips on managing updates and plugins. I use WordPress for my blogging site and the tutorials on WP can confusing. Thanks for the post!

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.