• Here is how to upgrade this plugin to WordPress 2.5: Change

    $anames = $wpdb->get_results("SELECT ID, user_nicename FROM $table_prefix" . "users;");

    to

    $anames = $wpdb->get_results("SELECT ID, user_nicename FROM $wpdb->prefix" . "users;");

    and

    $posts = $wpdb->get_results("SELECT ID, post_content, post_status, post_date, post_title, post_author, post_type FROM $table_prefix" . "posts ORDER BY ID;");

    to

    $posts = $wpdb->get_results("SELECT ID, post_content, post_status, post_date, post_title, post_author, post_type FROM $wpdb->prefix" . "posts ORDER BY ID;");

    then either publish or re-save any post.

    https://www.ads-software.com/extend/plugins/td-word-count/

Viewing 1 replies (of 1 total)
  • Jeidai

    (@jeidai)

    Thanks for posting this. ?? I can’t find any other plugin that does what this does and works with the recent version of WordPress…

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: TD Word Count] Here is how to upgrade this plugin to WordPress 2.5’ is closed to new replies.