[wordpress插件] Cleanup Duplicate Meta清理重复元

wordpress 插件 文章 2020-03-24 15:00 427 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

There are times when your database gets filled up with duplicate entries that you may not want.

有时候,您的数据库中充满了您可能不想要的重复条目。

Cleanup Duplicate Meta allows you to check for any duplicates in either the Post Meta or User Meta tables.

清除重复元数据可让您检查“发布元数据”或“用户元数据”表中是否有任何重复数据。

Then if you want to get rid of them, simply click on the Cleanup button and Cleanup Duplicate Meta deletes the duplicates leaving either the first or last meta (you select which).

然后,如果要摆脱它们,只需单击“清除”按钮,然后“清除重复的元数据”将删除重复的数据,而保留第一个或最后一个元数据(您可以选择其中一个)。

The interface is simple and easy to use:

界面简单易用:

    1. ‘Check for Duplicates’ queries the database and then displays all the duplicates found.
    2. “检查重复项”查询数据库,然后显示找到的所有重复项。

    3. ‘Count Duplicates’ counts all the duplicates found in the database (i.e. a total count).
    4. “重复计数”对数据库中找到的所有重复计数(即总数)。

    5. The ‘Cleanup’ buttons trigger a SQL query to run, which deletes each of the duplicate entries, leaving either the first or last one (per your selection) in the database.

    6. “清除”按钮触发SQL查询运行,该查询将删除每个重复的条目,并在数据库中保留第一个或最后一个(根据您的选择)。

      All non-duplicates remain untouched by the plugin.

    7. 插件不会影响所有非重复项。

    See the screenshots tab for more details.

    有关详细信息,请参见屏幕截图标签

安装步骤

From your WordPress dashboard

从您的WordPress仪表板中

    1. Visit ‘Plugins > Add New’
    2. 访问“插件>添加新内容”

    3. Search for ‘Cleanup Duplicate Meta’
    4. 搜索“清除重复的元数据”

    5. Activate Cleanup Duplicate Meta from your Plugins page.
    6. 从“插件”页面激活“清理重复的元”。

    Once Activated

    一旦激活

      1. Go to ‘Tools > Cleanup Duplicates’
      2. 转到“工具>清理重复项”

      3. Click on the ‘Check for Duplicates’ button for either Post or User Meta.
      4. 单击“检查重复项”按钮以获取帖子或用户元。

      5. If there are duplicates, you can then click on ‘Cleanup Post Meta’ or ‘Cleanup User Meta’ button.
      6. 如果有重复项,则可以单击“ Cleanup Post Meta”或“ Cleanup User Meta”按钮。

下载地址
https://downloads.wordpress.org/plugin/cleanup-duplicate-meta.1.0.2.zip
-EOF-

AI助手支持GPT4.0