Title: GlotCore History Limiter
Author: meloniq
Published: <strong>2026 年 4 月 15 日</strong>
Last modified: 2026 年 4 月 15 日

---

搜索插件

![](https://ps.w.org/glotcore-history-limiter/assets/banner-772x250.png?rev=3507118)

![](https://ps.w.org/glotcore-history-limiter/assets/icon-256x256.png?rev=3507118)

# GlotCore History Limiter

 作者：[meloniq](https://profiles.wordpress.org/meloniq/)

[下载](https://downloads.wordpress.org/plugin/glotcore-history-limiter.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/glotcore-history-limiter/#description)
 * [评价](https://cn.wordpress.org/plugins/glotcore-history-limiter/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/glotcore-history-limiter/#developers)

 [支持](https://wordpress.org/support/plugin/glotcore-history-limiter/)

## 描述

Controls and optimizes translation history in [GlotPress](https://wordpress.org/plugins/glotpress/)
by enforcing limits on `waiting` and `old` entries per string,
 reducing unnecessary
revisions and keeping the database lean and efficient.

 1. It limits the number of `waiting` translations.
     Any `waiting` translations above
    the limit are set to `old` status and are no longer shown in the waiting translations
    list.
 2. It limits the number of `old` translations.
     Any `old` translations above the limit
    are permanently deleted from the database.

### How the limit works

Assume the limit is set to **2 translations per string**.

### 1. Single user behavior

When a single user submits multiple translations:

 * The **latest translation** is always marked as `waiting`
 * The previous `waiting` translation becomes `old`
 * If the number of `old` translations exceeds the limit:
    - The **oldest `old` translation is deleted**

**Result:**
 – `1 waiting` translation (latest) – Up to `2 old` translations (limited)

### 2. Multiple users

When multiple users submit translations for the same string:

 * Each user can have **one `waiting` translation**
 * A new submission:
    - Replaces that user’s previous `waiting` (which becomes `old`)
    - Does **affect other users `waiting` translations** if the total number of `
      waiting` translations exceeds the limit
    - The **oldest `waiting` translation** over the limit (regardless of user) becomes`
      old`
 * All `old` translations are shared (counted globally per string)
 * All `waiting` translations are shared (counted globally per string)

#### Configuration

Once installed, GlotCore History Limiter is ready to use. The default limit is set
to 3 history entries per string.

You can change this limit by defining the following constant in your `wp-config.
php` file:
 `php define( 'GLOTCORE_HISTORY_LIMIT', 3 ); // Change 3 to your desired
limit

You can also modify the limit by hooking into the `glotcore_history_limit` filter
in your theme or plugin:
 `php add_filter( 'glotcore_history_limit', function( $
limit ) { return 3; // Change 3 to your desired limit } );

## 评价

此插件暂无评价。

## 贡献者及开发者

「GlotCore History Limiter」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ meloniq ](https://profiles.wordpress.org/meloniq/)

「GlotCore History Limiter」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/glotcore-history-limiter/contributors)
为本插件所做的贡献。

[帮助将「GlotCore History Limiter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/glotcore-history-limiter)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/glotcore-history-limiter/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/glotcore-history-limiter/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/glotcore-history-limiter/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/glotcore-history-limiter/)。

## 更新日志

#### 1.0

 * Initial release.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**6 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.9 或更高版本 **
 *  已测试的最高版本为 **6.9.10**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/glotcore-history-limiter/)、
   [English (US)](https://wordpress.org/plugins/glotcore-history-limiter/) 和 [Russian](https://ru.wordpress.org/plugins/glotcore-history-limiter/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/glotcore-history-limiter)
 * 标签
 * [glotpress](https://cn.wordpress.org/plugins/tags/glotpress/)[history](https://cn.wordpress.org/plugins/tags/history/)
   [limit](https://cn.wordpress.org/plugins/tags/limit/)[revisions](https://cn.wordpress.org/plugins/tags/revisions/)
 *  [高级视图](https://cn.wordpress.org/plugins/glotcore-history-limiter/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/glotcore-history-limiter/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/glotcore-history-limiter/reviews/)

## 贡献者

 *   [ meloniq ](https://profiles.wordpress.org/meloniq/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/glotcore-history-limiter/)