Support » Plugin: WP-PostRatings » get_highest_rated_category no longer works after 1.81.1 -> 1.84.1

  • I updated WP Post Ratings on my staging site from Version 1.83.1 to Version 1.84.1 and my Highest Rated no longer works on a category level. This is the exact code on my sidebar

    <?php get_highest_rated_category(array(get_query_var('cat')), 'both', 0, 10); ?>

    I tried variations of the same method like

    <?php if (function_exists('get_highest_rated_category')): ?>
    
       <ul>
       	<?php
       	$cat_id = get_query_var('cat');
    
           get_highest_rated_category($cat_id); ?>
       </ul>
    <?php endif; ?>

    And it returns “N/A”

    Even using the exact sample code from the faq

    <?php if (function_exists('get_highest_rated_category')): ?>
        <ul>
            <?php get_highest_rated_category(11); ?>
        </ul>
    <?php endif; ?>

    results in N/A. The other options like most rated work correctly, just this get_highest_rated_category doesnt seem to work

    Staging site with new version of plugin:
    remotay.staging.wpengine.com/review/moba

    Live site with old version (code is identical):
    mmos.com/review/moba

    Appreciate any fix.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘get_highest_rated_category no longer works after 1.81.1 -> 1.84.1’ is closed to new replies.