[Plugin: Subscribe2] Duplicate content in one digest
-
Hi – looking at function subscribe2_cron
there are a number of lines where $message_posttime is built up with the same content as $message_post.$message_posttime then replaces the tag {POSTTIME}.
Thus the digest ends up with what looks like two sets of every excerpt if one has post time tag. If one takes the {POSTTIME} out of the template it is ok.
This must surely be an error ?
$message_post .= $post_title; $message_posttime .= $post_title; .. $message_post .= $excerpt . "\r\n\r\n"; $message_posttime .= $excerpt . "\r\n\r\n"; $message_post .= " (" . __('Author', 'subscribe2') . ": " . $author->display_name . ")"; $message_posttime .= " (" . __('Author', 'subscribe2') . ": " . $author->display_name . ")"; .. $message_post .= __('Tagged as', 'subscribe2') . ": " . $post_tag_names . "\r\n"; $message_posttime .= __('Tagged as', 'subscribe2') . ": " . $post_tag_names . "\r\n";
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: Subscribe2] Duplicate content in one digest’ is closed to new replies.