• Resolved Angela

    (@g33kg0dd3ss)


    I found that the shortcode for displaying the search engine referral count wasn’t working, and I found some typos in the plugin code that caused the break. Making the changes below fixed the problem, and the count now displays properly!

    The first one is in /wp-statistics/shortcode.php, line 31:
    $result = wp_statistics_searchengine($attr['provider']);
    should be
    $result = wp_statistics_searchengine($atts['provider']);
    ($attr > $atts)

    The second is in /wp-statistics/includes/functions/functions.php, line 315:
    $search_query = wp_statistics_Searchengine_query($search_engine);
    should be
    $search_query = wp_statistics_searchengine_query($search_engine);
    (Searchengine > searchengine)

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug (and fix): Broken "Search Engine Referrers" count’ is closed to new replies.