• Resolved Nextendweb

    (@nextendweb)


    Hi @drewapicture,
    I see that you have upgrade script at RDA_Options->maybe_map_old_settings(). The problem with it that get_option( 'rda-settings' ) creates an SQL call all the time when this option is not exist in the table. SELECT option_value FROM wp_options WHERE option_name = 'rda-settings' LIMIT 1

    I think you should find other way to do this check. For example you could store the version of the plugin the the wp_options table with autoload yes and you could compare the installed version to that and then you can run your upgrader when needed.

  • The topic ‘Prevent rarely used MySQL call’ is closed to new replies.