wp_postmea filling up with _kgflashmediaplayer*
-
I just noticed, that your plugin fills up the wp_postmeta table with numerous “_kgflashmediaplayer*” entries (12353 of 16590 entries! and I only got five videos uploaded). It seems every attachment get’s the meta data set, regardless if it’s an image or a video (or if it’s the default value).
I took a look at the source code but then figured out, you might find the part where this happens faster than me.
I guess somewhere there’s a check if the attachment is a video missing or not working.
The following values are set for all images:
“_kgflashmediaplayer-forcefirst, _kgflashmediaplayer-featured, _kgflashmediaplayer-lockaspect, _kgflashmediaplayer-encodefullres, _kgflashmediaplayer-encode1080, _kgflashmediaplayer-encode720, _kgflashmediaplayer-encodemobile, _kgflashmediaplayer-encodewebm, _kgflashmediaplayer-encodeogg, _kgflashmediaplayer-encodecustom_h264, _kgflashmediaplayer-encodecustom_webm, _kgflashmediaplayer-encodecustom_ogg, _kgflashmediaplayer-showtitle, _kgflashmediaplayer-downloadlink”
I would suggest only saving meta data which differs from default values and maybe saving the data as one json encoded meta value.
https://www.ads-software.com/plugins/video-embed-thumbnail-generator/
- The topic ‘wp_postmea filling up with _kgflashmediaplayer*’ is closed to new replies.