Support » Plugin: WP Statistics » Date picker CSS still not loading on one page (v11.0.1)

  • Resolved bios4

    (@bios4)


    The mentioned fix “Fixed: CSS for date picker not loading.” in the changelog for version 11.0 does not apply for one page within the plugin: the “Top Visitors” page (slug “wps_top_visitors_page”) still does not load the date picker CSS.

    All other date picker occurances are properly styled.

    Plugin version 11.0.1

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    Thanks, I’ll take a look to see why.

    Plugin Contributor Greg Ross

    (@gregross)

    Found the issue, line 15 of wp-statistics/includes/log/top-visitors.php has a typo in it, replace it with:

    
    wp_register_style( 'jquery-ui-smoothness-css', $WP_Statistics->plugin_url . 'assets/css/jquery-ui-smoothness' . WP_STATISTICS_MIN_EXT . '.css' );
    

    I’ve commit a fix for the next release, which will probably be in a few days after 11.0.1 get’s out to more users.

    The provided fix works like a charm.
    Plus – it eliminates the “false positives” of 404-detections, which were caused by the non-existing CSS file… 😉

    Thanks for the quick followup!

    BR Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date picker CSS still not loading on one page (v11.0.1)’ is closed to new replies.