wpdm_setup_package_data function came very slow recently
-
Hi, I have built my own plugin on top of WPML for display of items. As part of my plugin, I was using the wpdm_setup_package_data function to get an array of information on the retrieved item. While this function was very quick when I first implemented the system last fall, it became very slow with recent versions. Retrieving data on 25 items would take about 10 seconds for the output to get prepared, whereas the output was generated almost instantaneously when I commented out that single call.
As a workaround, I am going straight to the meta post data and getting the information I need on each download package, but you should see about correcing the wpdm_setup_package_data utility function to regain its performance.
The topic ‘wpdm_setup_package_data function came very slow recently’ is closed to new replies.