Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter htrex

    (@htrex)

    I’ve found that going directly to /wp-admin/index.php?page=word-stats-graphs or from WP menu “Dashboard > Word Stats” still works even with WP 3.9 …

    In the plugin folder go to word-stats.php and comment our or delete line 779 and 782.

    function word_stats_create_menu() {
    	global $word_stats_options;
    	add_action( 'admin_init', array( 'Word_Stats_Admin', 'init_settings' ) );
    	add_options_page( 'Word Stats Plugin Settings', 'Word Stats', 'manage_options', 'word-stats-options', array( 'Word_Stats_Admin', 'settings_page' ) );
    /* 	if ( !Word_Stats_State::is_worker_needed() ) { */
    		$page = add_submenu_page( 'index.php', 'Word Stats Plugin Stats', 'Word Stats', 'edit_posts', 'word-stats-graphs', array( 'Word_Stats_Admin', 'reports_page' ) );
    		add_action( 'admin_print_styles-' . $page, 'word_stats_report_styles' );  # Load styles for the reports page
    	/* } */
    }

    It’s meant to turn off the menu when the word stat plugin is doing its thing but it doesnt quite work i don’t think.

    You might like to check out this as well

    https://www.ads-software.com/support/topic/excluding-shortcodes-keywords-fix

    Plugin Author Fran Ontanaya

    (@fran-ontanaya)

    I’ve changed this on 4.5.0. Stats still won’t be displayed when data collection is not finished, but the submenu won’t be hidden.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Version 4.4.2 not compatible with WP > 3.8’ is closed to new replies.