Fix:
html_entity_decode($begin_wrap)
html_entity_decode($end_wrap)
By the way I didn’t get why is there
if( ( !empty($begin_wrap) || $begin_wrap != ” )
because $begin_wrap can not be empty anyway:
function network_latest_posts($how_many=10, $how_long=0, $titleOnly=true, `$begin_wrap="\ n
<li>"</li>` , $end_wrap=””, $blog_id=’null’, $thumbnail=false, $cpt=”post”, $ignore_blog=’null’, $cat=’null’, $tag=’null’, $paginate=false, $excerpt_length=’null’, $display_root=false, $auto_excerpt=false, $full_meta=false, $size = ‘thumbnail’ ) {
Hi Sergey,
This will disappear in the next version, it is a nasty hack and it turned out to be more confusing than helpful for most of the people.
Instead of this, I added a new parameter called display_style which accept this values: olist (ordered list), ulist (unordered list), block, inline (inline blocks). That way I can control the tags used and there will be CSS styles provided for each one of those types, so people can get something styled by default or create their own styles using CSS instead.
Cheers.