Possible bug in function coauthors__echo
-
I believe function
coauthors__echo
has a bug in line 169:
$output = rtrim( $output, $separators['between'] );
Depending on what we use as
$separators['between']
,rtrim
may remove more characters than we want.I noticed this bug we making the following call:
coauthors_posts_links( '</span> <span class="author vcard">', '</span> <span class="author vcard">', '<span class="author vcard">', '</span>', false )
Basically, I’m trying to put some tags around each author (I don’t know whether there is a better way to achieve this goal). In this case, at least the
</a>
closing tags will also be removed.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Possible bug in function coauthors__echo’ is closed to new replies.