Support » Plugin: WPDB Profiling » [Plugin: WPDB Profiling] Deprecated functions

  • Greetings,
    This plugin contains a couple of deprecated functions. It throws the following errors in debug mode:
    Notice: get_settings is deprecated since version 2.1! Use get_option() instead...
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead...
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Also, when not logged in:

    Notice: Undefined index: show_queries in \wp-content\plugins\wpdb-profiling\wpdb-profiling.php on line 72


    I made some alterations to the plugin:

    As far as I can tell it solves the above issues. I haven’t tried the different user level settings though, but it displays for admins and not for regular users.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WPDB Profiling] Deprecated functions’ is closed to new replies.