ຂ້າມໄປທີ່ເນື້ອຫາ
WordPress.org

ລາວ

  • ທິມ
  • ປັກອິນ
  • ຂ່າວ
  • ກ່ຽວກັບ
  • ທິມລາວ
  • ຕິດຕໍ່
  • ດາວໂຫລດ WordPress
ດາວໂຫລດ WordPress
WordPress.org

Plugin Directory

Cleanup Duplicate Meta

  • ສົ່ງປລັກອິນ
  • ທີ່ມັກຂອງຂ້ອຍ
  • ເຂົ້າສູ່ລະບົບ
  • ສົ່ງປລັກອິນ
  • ທີ່ມັກຂອງຂ້ອຍ
  • ເຂົ້າສູ່ລະບົບ

ປລັກອິນນີ້ ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ. ມັນອາດຈະບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

Cleanup Duplicate Meta

ໂດຍ Tonya Mork
ດາວໂຫຼດ
  • ລາຍລອຽດ
  • ການຣີວິວ
  • ການຕິດຕັ້ງ
  • ການພັດທະນາ
ການຊ່ວຍເຫຼືອ

ຄຳອະທິບາຍ

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. ‘Count Duplicates’ counts all the duplicates found in the database (i.e. a total count).
  3. 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. All non-duplicates remain untouched by the plugin.

See the screenshots tab for more details.

ພາບໜ້າຈໍ

  • The plugin’s page in Tools > ‘Cleanup Duplicates’.
  • Screen for both the Post Meta and User Meta controls.
  • An example of the table generated when clicking on ‘Check for Duplicates’ button. The results are sorted by meta key.
  • After clicking on the ‘Count Duplicates’ button, notification is displayed of the number of duplicates found (which could be deleted).
  • The message after clicking on ‘Cleanup Post Meta’.

ການຕິດຕັ້ງ

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘Cleanup Duplicate Meta’
  3. Activate Cleanup Duplicate Meta from your Plugins page.

Once Activated

  1. Go to ‘Tools > Cleanup Duplicates’
  2. Click on the ‘Check for Duplicates’ button for either Post or User Meta.
  3. If there are duplicates, you can then click on ‘Cleanup Post Meta’ or ‘Cleanup User Meta’ button.

ຄຳຖາມທີ່ພົບເລື້ອຍ

How do I check how many duplicates are in either the Post Meta or User Meta table?

Simply click on the ‘Check for Duplicates’ button and the plugin will report the count back to you on the screen.

See the screenshot 2 for an example.

How do I know whether to leave the first or last one?

If you know which one you want, then select either the first or last one. Otherwise, leave it at the default.

Should I backup my database first?

Yes. Before you run Cleanup, you should backup your database.

Will this work on WordPress multisite?

Yes!

What happens to non-duplicates when I run Cleanup?

Nothing. Cleanup Duplicate Meta does not touch non-duplicates. Therefore you’re data remains intact.

ການຣີວິວ

Wow! It saved my site!

Anonymous User 5 ມີນາ 2021
I had over a million duplicate post meta entries from Avada (Theme Fusion). It shrinked my wp_postmeta table to 1/10 of the original size. Thank you and please update your plugin.

Works perfect

Rocket Apps 25 ກັນຍາ 2020
Cleaned up nearly 70,000 redundant _postmeta records with just a couple of clicks. Top marks.

Still works

tomfaber 11 ກັນຍາ 2020
Nice tool, does what it needs to.

Tonya Mork is a GENIUS. Plugin Still working in 2020

ctrlaltdelete 28 ມີນາ 2020
This plugin helped me remove 31195 Duplicate records in the wp_postmeta database table. Most were ACF fields, i don’t know why they are there but some posts had up to 8 times the same field… It also helped me find old meta by old plugins i don’t even remember using so i was able to delete all of those (the originals too) with phpmyadmin. It shaved 10 MB of wp_postmeta!

Old but works!!

goddess_dix 25 ກັນຍາ 2018
Just tried this (09/2018) and it works like a charm. Wow, that was helpful!!! Thank you.

Really handy plugin

Luke Cavanagh 24 ກໍລະກົດ 2018
Did not know this plugin existed, tested and works with the current version of WordPress (4.9.7).
ອ່ານການຣີວິວທັງໝົດ 11 ລາຍການ

ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Cleanup Duplicate Meta” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ
  • Tonya Mork
  • WPDC

ແປ “Cleanup Duplicate Meta” ເປັນພາສາຂອງເຈົ້າ.

ສົນໃຈຮ່ວມພັດທະນາບໍ່?

ເບິ່ງລະຫັດ, ກວດເບິ່ງ ຄັງເກັບ SVN, ຫຼື ຕິດຕາມ ບັນທຶກການພັດທະນາ ຜ່ານ RSS.

ບັນທຶກການປ່ຽນແປງ

Version 1.0.2

  • Added in missing files to repo

Version 1.0.1

  • First release

ຂໍ້ມູນກຳກັບ (Meta)

  • ເວີຊັນ 1.0.2
  • ອັບເດດຫຼ້າສຸດເມື່ອ 11 ປີ ທີ່ຜ່ານມາ ທີ່ຜ່ານມາ
  • ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ 200+
  • ເວີຊັນ WordPress 3.5 ຫຼື ສູງກວ່າ
  • ທົດສອບເຖິງເວີຊັນ 4.2.39
  • ພາສາ
    English (US)
  • ແທັກ
    database cleanupmetapost metauser meta
  • ມຸມມອງຂັ້ນສູງ

ການໃຫ້ຄະແນນ

5 ຈາກທັງໝົດ 5 ດາວ.
  • ການວິຈານ 5 ດາວ ຈຳນວນ 11 ລາຍການ 5 ດາວ 11
  • ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ 4 ດາວ 0
  • ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ 3 ດາວ 0
  • ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ 2 ດາວ 0
  • ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ 1 ດາວ 0

ເພີ່ມຄຳຄິດເຫັນຂອງຂ້ອຍ

ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ

ຜູ້ຮ່ວມພັດທະນາ

  • Tonya Mork
  • WPDC

ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ

ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

ບໍລິຈາກໃຫ້ປລັກອິນນີ້

  • ກ່ຽວກັບ
  • ຂ່າວສານ
  • ໂຮສຕິງ
  • ຄວາມເປັນສ່ວນຕົວ
  • ງານທີ່ໂດດເດັ່ນ
  • ທີມ
  • ປລັກອິນ
  • ຮູບແບບບລັອກ
  • ຮຽນຮູ້
  • ຊ່ວຍເຫຼືອ
  • ນັກພັດທະນາ
  • WordPress.tv ↗
  • ມີສ່ວນຮ່ວມ
  • ກິດຈະກຳ
  • ບໍລິຈາກ ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

ລາວ

  • ຢ້ຽມຊົມບັນຊີ X (ຊື່ເກົ່າ Twitter) ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Bluesky ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Mastodon ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Threads ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມໜ້າ Facebook ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Instagram ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ LinkedIn ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ TikTok ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມຊ່ອງ YouTube ຂອງພວກເຮົາ
  • ຢ້ຽມຊົມບັນຊີ Tumblr ຂອງພວກເຮົາ
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.