• Resolved Chris Lloyd

    (@chrisl27)


    Hiya,

    Line wp-slimstat.php:415 refers to:

    FROM {$GLOBALS['wpdb']->dbname}.{$GLOBALS[‘wpdb’]->comments}

    I think “dbname” must have been removed in a previous WP version as it is now a protected variable. wpdb does have “prefix” and the rest of the slimstat code refers to that, this line seems to have been missed during that refactoring.

    Thanks!

    – Chris

    https://wordpress.org/plugins/wp-slimstat/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slimstat uses wpdb->dbname instead of wpdb->prefix’ is closed to new replies.