“I did exactly what it asked me to do”
What was that ?
Well, it asked me to add this code:
“function comment_plugger($before = ”, $limit = 5, $sep = ‘, ‘) {
global $wpdb, $tablecomments, $id;
$request = “SELECT comment_author, comment_author_url, MAX(comment_ID) as comment_ID FROM $tablecomments”;
$request .= ” WHERE comment_post_ID=’$id’ AND comment_approved = ‘1’ GROUP BY comment_author, comment_author_url ORDER BY comment_ID DESC”;
$request .= ($limit > 0) ? ” LIMIT $limit” : ”;
$commenters = $wpdb->get_results($request);
if ($commenters) {
$output = ”;
foreach ($commenters as $commenter) {
if (!empty($commenter->comment_author_url)) {
$output[] = ‘comment_author_url . ‘” title=”‘ . $commenter->comment_author . ‘”>’ . $commenter->comment_author . ‘‘;
}
else {
$output[] = $commenter->comment_author;
}
}
if (is_array($output)) {
echo $before.implode($sep, $output);
}
} else {
// echo “No one…yet.”;
}
}”
to the “my-hacks.php” file and then save it/upload it to my wordpress location. I did.
Options > Misc > bottom left. The legacy box is checked ?
Did you wrap that code in <?php and ?> tags? It may sound obvious but some people miss it.
Cron – Symmetry In My Mind
Yes, I did that too. You mean on my my-hacks.php page, right?