[Plugin: TD Word Count] Here is how to upgrade this plugin to WordPress 2.5
-
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.
Viewing 1 replies (of 1 total)
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.