WordPress update failed? How to restore your site
Comprehensive guide to safely restoring WordPress after failed updates. Learn backup strategies, manual recovery via FTP/phpMyAdmin, plugin-based restoration, and prevention techniques.
Sweden has had a new cybersecurity act since 15 January 2026. It puts security duties on municipalities, regions and many mid-sized and large companies, and it makes the management answerable for them. A WordPress site is rarely the whole of an organisation's exposure, but it is a public system that stays online all year, and the people who run it are the ones who can show what was patched and when. This page sets out what the law says and what a maintenance routine can supply as evidence. It is a technical reading, not legal advice.
The act is cybersäkerhetslag (2025:1506), issued on 11 December 2025 by the Ministry of Defence. Its transitional provisions say it entered into force on 15 January 2026 and repealed the 2018 act on information security for essential and digital services (2018:1174), which still applies to breaches that happened before. Section 1 says it partly implements the NIS 2 directive, Directive (EU) 2022/2555. The government ordinance cybersäkerhetsförordning (2025:1507) came into force on the same day and was amended later, up to SFS 2026:2097 on the Riksdag site.
Chapter 1 of the act sets the scope. In my reading:
The Swedish NCSC page on scope says medium-sized and large enterprises are covered when their sector appears in annex 1 or 2, and that the act covers 18 sectors. It also says each organisation decides for itself whether it is covered, and neither NCSC nor the supervisors do that assessment for it. I do not assess that either.
Under the ordinance, section 7, the supervisory authorities per sector include the Swedish Energy Agency for energy, the Transport Agency for transport and for manufacture of motor vehicles and other transport equipment, the Financial Supervisory Authority for banking, the Medical Products Agency for the health sector apart from care providers, the Food Agency for food and water, and the Post and Telecom Authority for digital infrastructure, digital providers, business-to-business ICT service management and postal services. The same text says that from 1 January 2027 the Agency for Digital Government takes over the Post and Telecom Authority’s sectors.
The county administrative boards of Norrbotten, Skåne, Stockholm, Västra Götaland, Örebro and Östergötland handle waste management, research, public administration apart from the county boards themselves, chemicals, manufacture of computers, electronics and optics, electrical equipment and other machinery. Section 13 makes the county administrative board of Västra Götaland the supervisor for municipalities and regions in Västra Götaland and Halland, and for operators seated in either county in those sectors. So a Gothenburg manufacturer of machinery answers to the county board, and a Gothenburg motor vehicle maker to the Transport Agency.

Photo: Arild Vågen, CC BY-SA 4.0, Wikimedia Commons.
Chapter 2, section 2 says an operator must register with the authority designated by the government as soon as it can, and report changes within 14 days. On its page about registering, NCSC says that since 2 February 2026 operators are expected to register as soon as possible, and that supervisors may act if a registration has not arrived within 14 days. The page says the form is emailed to NCSC, which is part of the Swedish Defence Radio Establishment, and that each operator sends its own.
The content of a registration is set in MCFFS 2026:1. Besides name, address and organisation number, it includes the sectors, whether the operator is essential or important, and identifiers towards the internet, meaning IP addresses and domain names. That is where a site inventory helps: the list of domains, the hosts they resolve to and who administers them is the same information maintenance records anyway.
Chapter 2, section 3 requires appropriate and proportionate technical, operational and organisational measures to protect network and information systems, based on an all-hazards approach. The minimum list covers ten areas. These map to maintenance work as follows:
| Area in section 3 | What maintenance can supply |
|---|---|
| Risk analysis and system security policies | Inventory of sites, plugins and versions, with owners |
| Incident handling | An incident log and a written first-response routine |
| Continuity and crisis management | Off-site backups and dated restore tests |
| Supply chain security | List of plugins, themes and services with vendor and update source |
| Security in acquisition, development and maintenance | Staging-tested updates and a change record |
| Assessing effectiveness of measures | Monthly report that shows what was checked and found |
| Basic cyber hygiene | Patch cadence, strong authentication and least-privilege accounts |
| Cryptography | TLS certificate tracking and encrypted backups |
| Personnel security, access control, asset management | User and role review, offboarding checks |
| Authentication, secure communications | Two-factor login for admins, review of admin access |
Section 4 adds that the people in an operator’s management must complete training on security measures. That duty is the organisation’s and cannot be handed to a supplier.
Sections 5 to 8 of chapter 2 set the sequence for a significant incident. The operator tells the designated authority as soon as it can, and at the latest within 24 hours of becoming aware. It then makes an incident notification, at the latest within 72 hours for most operators and within 24 hours for trust service providers. On request it gives interim status updates, and within one month of the notification it submits a final report. A significant incident is one that has caused or can cause serious operational disruption or financial loss for the operator, or that has affected or can affect others by causing considerable damage.
Under the ordinance, sections 5 and 6, registration goes to the single point of contact and incident reports to the CSIRT unit, and sections 23 and 31 designate the Swedish Defence Radio Establishment for both roles. The ordinance also requires the supervisor to cooperate with the Swedish Authority for Privacy Protection when an incident is also a personal data incident.
A defaced or hijacked WordPress site may or may not meet the threshold. That is the organisation’s judgement. What maintenance contributes is the timeline: when the first sign appeared, who was told, what was restored. My guides on the NIS2 reporting timeline for WordPress and the evidence trail for WordPress providers cover the practice.
Chapter 4 lets the supervisor order compliance, back it with a conditional fine, and decide an administrative sanction. The ceiling for an essential operator is the higher of 2 per cent of global annual turnover or the krona equivalent of ten million euros, and for an important operator the higher of 1.4 per cent or seven million euros. For a public body the ceiling is ten million kronor. A supervisor can also, in serious cases, apply to a court to bar a manager at an essential operator from holding a management role for between one and three years.
For a covered organisation, each month I add to the written report:
I do not write your risk analysis, train your management or file the registration. I design or implement a hardening plan, or work to yours, as a separate piece of work agreed in writing first.
Write through the contact page with the site addresses, the hosting, the plugins you rely on and whether your organisation has assessed that it is covered. The first written estimate is free, and you get my email reply within 24 hours on working days, Central European Time. The general scope of maintenance is on the WordPress website maintenance page.
Examples of my work.
Sportostroda.pl is one of the interesting projects in my portfolio as a WordPress developer, realised as a local sports portal dedicated to the residents of ...
surfuje.pl is a website for surfers and watersports enthusiasts, with clear content, simple publishing, and stable technical operation.
zamki-szkocji.com is a comprehensive information portal dedicated to the castles of Scotland, combining rich historical content, interactive maps, photo gall...
Describe your project by e-mail. I reply within 24 hours.
Describe your projectComprehensive guide to safely restoring WordPress after failed updates. Learn backup strategies, manual recovery via FTP/phpMyAdmin, plugin-based restoration, and prevention techniques.
WordPress.org has cut the mandatory update cooldown from 24 hours to six, with work underway to skip it entirely when the Gandalf AI review finds no issues. What changed, and what agencies maintaining B2B sites should do about it.
Update crashed your site? Don't panic. See 3 proven ways to rollback WordPress core, plugins, or themes to a previous version.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Stores, checkout flow, and sales logic.
Stability, updates, and post-launch support.
What the monthly care fee covers and what changes it.
Business process automation around WordPress and company systems.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.

How to start as a WordPress developer in 2026. Local environment, theme and plugin development, REST API and headless paths, security and Core Web Vitals. A practitioner playbook that does not waste your first month.

WordPress 7.0 with AI Client against Astro 7 with the Rust compiler and Vite 8. Speed, cost, SEO and security compared, plus the real bill for my own Astro 6 to 7 migration.

A detailed comparison table of EmDash CMS and WordPress across architecture, security, plugins, AI features, content model, hosting, and ecosystem maturity.