• Hello,

    what’s up with all these SQL updates that the plugin makes? On opening the “New Post” page, there are 22 SQL updates by the Lightbox plugin. Why is that? Can it be reduced?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor LightPress

    (@pandaboxwp)

    They are sql queries, not updates, but I’ve otherwise confirmed this – and on dashboard page, not just new post page. I believe it is related to autoloading of plugin options. I’ll look at cleaning that up in the next week. I recently took this plugin over from the long-time owner, and I hadn’t actually checked or looked at this. So thanks for the report!

    Thread Starter eir3apps

    (@eir3apps)

    No, those are updates. Here’s one of them:

    INSERT INTO lt_options (option_name, option_value, autoload)
    VALUES ('lightpress_active_lightbox', 'wp-jquery-lightbox', 'auto')
    ON DUPLICATE KEY
    UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload)

    Thanks for looking into this! Much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.