wp_postmeta data growing like a virus
-
Here is a strange error I stumbled across: I am using the Groups plugin extensively to control access to pages/posts on our WordPress Site(s).
However, I just noticed something very disturbing:
I have a post with ID x and that post has an access restriction thru the groups plugin:
- meta_id – post_id – meta_key – meta_value
- 42 – 2 – groups-groups_read_post – delete_private_pages
- 43 – 2 – groups-groups_read_pos – delete_published_posts
If I now edit and update/save the post I end up with following:
- meta_id – post_id – meta_key – meta_value
- 42 – 2 – groups-groups_read_post – delete_private_pages
- 43 – 2 – groups-groups_read_pos – delete_published_posts
- 44 – 2 – groups-groups_read_post – delete_private_pages
- 45 – 2 – groups-groups_read_pos – delete_published_posts
If I edit/save the post again I get:
- meta_id – post_id – meta_key – meta_value
- 42 – 2 – groups-groups_read_post – delete_private_pages
- 43 – 2 – groups-groups_read_pos – delete_published_posts
- 44 – 2 – groups-groups_read_post – delete_private_pages
- 45 – 2 – groups-groups_read_pos – delete_published_posts
- 46 – 2 – groups-groups_read_post – delete_private_pages
- 47 – 2 – groups-groups_read_pos – delete_published_posts
I think you’ll get the idea — It seems that the “Enforced Access Restrictions” custom fields replicate each time there is a new revision of the page saved (i.e. you made a change and publish it). I have turned off all my other extensions and even went to the stock theme – the problem persists. This can be a real drag, especially on a busy site and I wonder if anybody else experiences this problem.
Thanks in advance
– Uwe
- The topic ‘wp_postmeta data growing like a virus’ is closed to new replies.