What steps will reproduce the problem?
1. Go to LJ Crossposter parameters and scroll to "Custom crosspost
header/footer"
2. Try to enter some text like:
Originally published at [permalink]. You can comment here or there: [blog_name].
3. Save changes, go to LJ post.
What is the expected output? What do you see instead?
See that a HTML generated by tags [permalink] and [blog_name] goes not to a
source code of an LJ post but to the WYSIWYG editor, so the whole HTML is
visible in the post text.
There is a standard header generated by this code:
$postHeader .= __('Originally published at', 'lj-xp');
$postHeader .= ' <a href="'.get_permalink($post->ID).'">';
$postHeader .= $blogName;
$postHeader .= '</a>.';
$postHeader .= sprintf(__(' You can comment here or <a href="%s">there</a>.', 'lj-xp'), get_permalink($post->ID).'#comments');
Could you put some default code into this "change header test" field that
actually produces the same? So that users could just edit this default text and
see a nice clean header in their posts?
What version of the plugin are you using? What version of WordPress?
LJ Crossposter 2.3.3 Word Press 3.8.1
Please provide any additional information below.
Original issue reported on code.google.com by komarov....@gmail.com on 6 Apr 2014 at 12:40
Original issue reported on code.google.com by
komarov....@gmail.com
on 6 Apr 2014 at 12:40