Forums

pagebar
produces stray tag (1 post)

  1. poodlerat
    Member
    Posted 6 months ago #

    When I tried to validate my site, I found a stray </span> closing tag after the end of the separator ( ...</span>)

    In class-basebar.php, I changed this:

    function transit($place) {
    	if ($place > 0) echo '<span class="break">';
    	echo $this->pbOptions["connect"] !== "" ? $this->pbOptions["connect"] : '...';
    	echo '</span>';
    }

    to this:

    `function transit($place) {
    if ($place > 0) {
    echo '<span class="break">';
    echo $this->pbOptions["connect"] !== "" ? $this->pbOptions["connect"] : '...';
    echo '</span>';
    }
    }

    It now seems to work without problems, but since I'm not sure what this function was supposed to do, I'm not sure if it will still work with that change.

    Just wanted to report this so it can be fixed in the latest update.

    http://wordpress.org/extend/plugins/pagebar/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags