Title: Revision Strike
Author: Steve Grunwell
Published: <strong>10 de Agosto, 2015</strong>
Last modified: 16 de Setembro, 2017

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://s.w.org/plugins/geopattern-icon/revision-strike.svg)

# Revision Strike

 Por [Steve Grunwell](https://profiles.wordpress.org/stevegrunwell/)

[Descargar](https://downloads.wordpress.org/plugin/revision-strike.0.6.0.zip)

 * [Detalles](https://gl.wordpress.org/plugins/revision-strike/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/revision-strike/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/revision-strike/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/revision-strike/#developers)

 [Soporte](https://wordpress.org/support/plugin/revision-strike/)

## Descrición

Unless post revisions are explicitly limited, WordPress will build up a hefty sum
of revisions over time. While it’s great to have revision history for some recent
content, the chances that old revisions will be necessary diminish the longer a 
post has been published. Revision Strike is designed to automatically remove these
unneeded revisions on older, published posts.

#### How does it work?

First, a threshold is set, with a default of 30 days. Once a day, Revision Strike
will run and find any post revisions in the database attached to published posts
with a post date of at least 30 (or your custom threshold) days ago, and “strike”(
tear-down and remove) them from the WordPress database.

#### Contributing

If you’d like to help build Revision Strike, please [visit the plugin’s GitHub page](https://github.com/stevegrunwell/revision-strike).
Contributors are welcome, and [details can be found in the repo’s README file](https://github.com/stevegrunwell/revision-strike#contributing).

## Capturas

[⌊The Tools > Revision Strike page in action.⌉⌊The Tools > Revision Strike page 
in action.⌉[

The Tools > Revision Strike page in action.

## Instalación

 1. Upload the revision-strike/ directory to your WordPress installation’s plugin directory(
    by default, /wp-content/plugins).
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Activating the plugin will automatically register a daily WP Cron event to clean
up revisions on established posts. If you’d prefer not to wait, you can explicitly
purge post revisions through the ‘Tools > Revision Strike’ page within WordPress
or with [WP-CLI](http://wp-cli.org/).

## Preguntas frecuentes

  Installation Instructions

 1. Upload the revision-strike/ directory to your WordPress installation’s plugin directory(
    by default, /wp-content/plugins).
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Activating the plugin will automatically register a daily WP Cron event to clean
up revisions on established posts. If you’d prefer not to wait, you can explicitly
purge post revisions through the ‘Tools > Revision Strike’ page within WordPress
or with [WP-CLI](http://wp-cli.org/).

  Can I configure how long a post needs to be published before its revisions can
be removed?

Yes. On the Settings > Writing page there is an option to set the default number
of days a post must be published before removing its revisions, but out of the box
it’s 30 days.

  Can I manually run Revision Strike without having to wait for the daily WP Cron
event?

Yup, just visit Tools > Revision Strike within the WordPress admin area. If you’re
a [WP-CLI](http://wp-cli.org/) user, you can also run Revision Strike from the command
line (run `wp revision-strike clean --help` for a full list of options).

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Revision Strike” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

 *   [ Steve Grunwell ](https://profiles.wordpress.org/stevegrunwell/)

[Traduce “Revision Strike” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/revision-strike)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/revision-strike/), 
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/revision-strike/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/revision-strike/)
por [RSS](https://plugins.trac.wordpress.org/log/revision-strike/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

For a full list of changes, please see the [Change Log in the GitHub repo](https://github.com/stevegrunwell/revision-strike/blob/develop/CHANGELOG.md).

#### 0.6.0

_September 16, 2017_

 * Fixed bug where warnings were being thrown when Revision Strike was being run
   verbosely via WP-CLI. Props @ivankruchkoff.
 * Re-licensed the plugin under the MIT license.

#### 0.5.0

_May 15, 2017_

 * Add the `revisionstrike_capabilities` filter to allow setting required capabilities
   to access Revision Strike settings page. Props @pereirinha. ([#28](https://github.com/stevegrunwell/revision-strike/pull/28))

#### 0.4.1

_March 4, 2017_

 * Adjusted the visibility of `RevisionStrikeCLI::log_deleted_revision()` in the
   WP-CLI component.

#### 0.4.0

_July 29, 2016_

 * Move from the manual pre-commit hook to [WP Enforcer](https://github.com/stevegrunwell/wp-enforcer).
    - As a result, minor standards-related changes have been made to the code to
      comply with the [WordPress Coding Standards](https://codex.wordpress.org/WordPress_Coding_Standards).
 * Re-work the copy on Tools › Revision Strike to be more clear to site administrators.(
   [#26](https://github.com/stevegrunwell/revision-strike/issues/26))
 * Add additional tests around the Tools › Revision Strike page confirmation messages.(
   [#25](https://github.com/stevegrunwell/revision-strike/issues/25))

#### 0.3.0

_June 20, 2016_

 * Lock Composer dependency versions to ensure more consistent testing via Travis-
   CI.
 * Add the `revisionstrike_get_revision_ids` filter to enable third-party plugins
   and themes to alter the array of revision IDs. ([#21](https://github.com/stevegrunwell/revision-strike/issues/21))
 * Implement Grunt to more consistently build releases. ([#18](https://github.com/stevegrunwell/revision-strike/issues/18))

#### 0.2

_August 16, 2015_

 * Added a “Limit” setting to Settings › Writing. ([#13](https://github.com/stevegrunwell/revision-strike/issues/13))
 * Added a “clean-all” WP-CLI command. ([#14](https://github.com/stevegrunwell/revision-strike/issues/14))
 * Clarified language on the Settings › Writing and Tools › Revision Strike pages.
   Props to @GhostToast for the suggestion! ([#16](https://github.com/stevegrunwell/revision-strike/issues/16))
 * Strike requests are now batched into groupings of 50 IDs at a time to avoid overwhelming
   underpowered machines. ([#17](https://github.com/stevegrunwell/revision-strike/issues/17))

#### 0.1

_August 9, 2015_

 * Initial public release

## Meta

 *  Versión **0.6.0**
 *  Última actualización **Fai 9 anos**
 *  Instalacións activas **40+**
 *  Versión de WordPress ** 4.2 ou superior **
 *  Probado ata **4.8.32**
 *  Versión de PHP ** 5.4 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/revision-strike/)
 * Etiquetas
 * [cron](https://gl.wordpress.org/plugins/tags/cron/)[maintenance](https://gl.wordpress.org/plugins/tags/maintenance/)
   [performance](https://gl.wordpress.org/plugins/tags/performance/)[revisions](https://gl.wordpress.org/plugins/tags/revisions/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/revision-strike/advanced/)

## Valoracións

 5 de 5 estrelas

 *  [  1 valoración de 5 estrelas     ](https://wordpress.org/support/plugin/revision-strike/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/revision-strike/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/revision-strike/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/revision-strike/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/revision-strike/reviews/?filter=1)

[A túa valoración](https://wordpress.org/support/plugin/revision-strike/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/revision-strike/reviews/)

## Colaboradores

 *   [ Steve Grunwell ](https://profiles.wordpress.org/stevegrunwell/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/revision-strike/)