Core Rollback

Description

Seamless rollback of WordPress Core to latest release or any outdated, secure release using the Core Update API and core update methods. Only latest release and outdated, secure releases are offered. Refer to https://api.wordpress.org/core/stable-check/1.0/ Logo from a meme generator. Original artwork by Allie Brosh.

Utilisation

Depuis le menu Outils, sélectionnez Rollback Core, sélectionnez la version à laquelle vous souhaitez revenir dans le menu déroulant et cliquez sur Revenir en arrière. Vous serez redirigé·e vers la page update-core.php où vous verrez un bouton Réinstaller la version spécifiée. Si vous quittez la page update-core.php avant de cliquer sur le bouton Réinstaller, vous disposerez de 15 secondes pour revenir et terminer le processus, faute de quoi vous devrez recommencer.

Dans un multisite utilisez le menu Réglages.

Avertissement : rétrograder le cœur de WordPress peut rendre votre site inutilisable et nécessiter une réinstallation complète ou une réinstallation forcée à l’aide de WP-CLI, wp core update --force --version=5.5.3. Il se peut également que votre site ne fonctionne pas en raison d’une incompatibilité avec une extension ou un thème. Utilisez cette extension à vos risques et périls.

Les retours en arrière s’effectuent dans la langue locale actuelle.

Les PR sont bienvenues.

Captures d’écrans

  • Tools menu item
  • Rollback Core action dropdown
  • Re-install Now button for rollback

Avis

11 mai 2025
My theme was not compatible with the automatically installed WP 6.8 and it let to critical errors on the page. I could still access the admin page to download the plugin and trigger the rollback. Unfortunately, the theme has no support from the developer and probably it is not going to receive a patch for WP 6.8. I followed the re-install steps and everything worked well. Once the installation was finished, I was force-logged out and upon trying to enter the admin area, my password was no longer valid. Small heart attack. (ref. @ndstry had the same issue mentioned in a previous review, it seems there is a hashing logic changed between the versions). Luckily the password reset email was working well and I could reset the admin account. I have also shut down the website (I am hosting it locally with Local) and then the WP version is also shown correctly. Thank you for developing this plugin!
4 mai 2025 1 réponse
Unable to log into site after rollback to 6.7.2 from 6.8.1. Password reset failed to send e-mails. Host provider e-mailed a temporary password which effected a successful log in. Website is otherwise OK. Was unaware of inherent rollback complications from 6.8 due to core encryption modifications, as I saw no disclaimer in plugin description.
1 mai 2025
Used on 6.8.1 to 6.7.2 rollback – very nice and easy. I’d performed a simple file and folder rollback which worked perfectly but the DashBoard still showed the original WordPress version. Yes, could have fixed that easily (I believe) but this plugin just did what I wanted in about a minute, with the correct rollback version now displayed in the Dashboard, too. Thanks :o)
5 novembre 2024 2 réponses
I attempted to use it on my test site and it would not rollback to any previous versions. I ended up using another plugin which worked effortlessly.
5 août 2024 1 réponse
Thank you so much for making this plugin, very helpful and thank you also for updating it. I used quite a lot and I always had no issue. Thank you for being so great with us.
Lire les 13 avis

Contributeurs/contributrices & développeurs/développeuses

« Core Rollback » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Core Rollback” a été traduit dans 11 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Core Rollback » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

1.3.7 / 2024-12-02

  • start in init hook
  • add GitHub Action to generate POT

1.3.6 / 2024-11-01

  • remove load_plugin_textdomain()
  • composer update

1.3.5 / 2023-07-12

  • update rollback choices for PHP version

1.3.4 / 2023-02-07

  • composer update

1.3.3 / 2023-02-05

  • update for PHP 8.1

1.3.2 / 2022-05-10

  • use wp_is_block_theme() for check

1.3.1 / 2022-02-08

  • use sanitize_key() for nonces

1.3.0 / 2022-01-28

  • filter WP versions with significant deprecation notices/errors for newer PHP versions
  • add notice about limiting of rollback options for PHP versions

1.2.4 / 2022-01-14

  • proper nonce verification of settings page
  • remove unneededd version_compare check for notice

1.2.3 / 2022-01-11

  • I suck and so do typos

1.2.2 / 2022-01-11

  • need to use method_exists in check to properly function

1.2.1 / 2022-01-11

  • add function_exists( 'is_block_theme' ) check to avoid fatal

1.2.0 / 2022-01-10

  • add method to return array of block capable WP versions for rollback

1.1.2 / 2022-01-10

  • add notice if currently using block theme, thanks @costdev

1.1.1 / 2021-10-14

  • use sanitize_title_with_dashes() as sanitize_file_name() maybe have attached filter that changes output

1.1.0 / 2021-07-07

  • add @10up GitHub Actions for WordPress SVN

1.0.1 / 2020-12-4

  • fix text-domain in string, thanks Alex

1.0.0 / 2020-11-17

  • initial release to dot org repository
  • add Class Bootstrap to intiate process
  • updated instructions, etc
  • add assets, screenshots, banners, icon
  • add readme.txt and clean up create_admin_page()
  • add warning notice to settings
  • add force-check query arg to redirect to more consistently display the Re-install Now button.
  • limit rollbacks to WP > 4.0, I found some non-recoverable issue in my local testing
  • initial release