WordPress to add auto-update feature for themes and plugins

WordPress on a laptop
(Image credit: Shutterstock)

In an effort to prevent WordPress sites from being hacked, the WordPress developer team is working on adding an auto-update feature to themes and plugins.

Many site owners often install themes and plugins but forget to update them and this has led to WordPress sites being hacked and even taken over by cybercriminals.

Work on WordPress' auto-update feature began months ago and it has already been implemented for plugins. However, the developer team is currently in the process of adding auto-updates to WordPress themes.

Once the auto-update feature begins rolling out to stable versions of WordPress' content management system (CMS), site owners will be able to configure the themes and plugins they've installed to update by themselves by simply checking an option in their site's admin panels.

WordPress site owners eager to test out this new feature for themselves can do so by installing the WordPress AutoUpdates plugin which is currently in beta.

WordPress auto-update feature

The code behind WordPress' new auto-update feature has actually been present in the CMS' source code since version 3.7, which was released back in 2013. At that time, the WordPress team added a background auto-update mechanism for the WordPress core.

Since version 3.7, all WordPress installations have been configured to install minor security updates automatically though user action is still required to update between major versions. The developers knew that they would eventually need to perform more than core updates, so they added the code for performing background updates for themes and plugins but it was never enabled by default.

Some site owners have stumbled upon the code during the past seven years and they've hacked their own WordPress configuration files to enable auto-updates for themes and plugins. Additionally, some plugin developers also found and tapped into the code to create either free or commercial plugins that allow users to customize the WordPress auto-update feature.

WordPress' auto-update feature is expected to help reduce the number of hacked WordPress sites once it rolls out globally with the upcoming release of WordPress 5.5.

Via ZDNet

TOPICS
Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Security
An American flag flying outside the US Capitol building against a blue sky
Sean Plankey selected as CISA director by President Trump
Ai tech, businessman show virtual graphic Global Internet connect Chatgpt Chat with AI, Artificial Intelligence.
Nation-state threats are targeting UK AI research
Scam alert
Fake jobs and phone calls: How Americans lost $12.5 bn to fraud in 2024
Application Security Testing Concept with Digital Magnifying Glass Scanning Applications to Detect Vulnerabilities - AST - Process of Making Apps Resistant to Security Threats - 3D Illustration
Google bug bounty payments hit nearly $12 million in 2024
Scam alert
A new SMS energy scam is using Elon Musk’s face to steal your money
Representational image of a cybercriminal
Allstate sued for exposing personal customer information in plaintext
Latest in News
Vision Pro Metallica
Apple Vision Pro goes off to never never land with Metallica concert footage
Mufasa is joined by another lion, a monkey and a bird in this promotional image
Mufasa: The Lion King prowls onto Disney+ as it finally gets a streaming release date
An American flag flying outside the US Capitol building against a blue sky
Sean Plankey selected as CISA director by President Trump
An Nvidia GeForce RTX 4060 on a table with its retail packaging
Nvidia RTX 5060 GPU spotted in Acer gaming PC, suggesting rumors of imminent launch are correct – and that it’ll run with only 8GB of video RAM
Indiana Jones talking to a friend in a university setting with a jaunty smile on his face
New leak claims Indiana Jones and the Great Circle PS5 release will come in April
A close up of the limited edition vinyl turntable wrist watch from AndoAndoAndo
This limited-edition timepiece turns the iconic Technics SL-1200 turntable into a watch, and I want one