[Plugin: Post Author] Suggested Change
-
Since the code repeats the authors name if the same author modifies the post, I suggest making the following change to the code to the condition for adding the revising author:
&& $modified_author <> $author) { /*MSB added AND condition*/
as in
// NOW ADD REVISION
if ($options[‘post_author_modify_author’]==’on’ && $modified_author <> $author) { /*MSB added AND condition*/
if ($post_date != $modified_date) {
$content .= ‘<span id=”post_author_modify”>’.$options[‘post_author_modified_before’];
$content .= $author_modify_link_start;
$content .= $modified_author;
$content .= $author_link_end;
$content .= $options[‘post_author_modified_after’].'</span>’;
}
}
The topic ‘[Plugin: Post Author] Suggested Change’ is closed to new replies.