Forums

[resolved] [Plugin: Bayesian top title learner] HTML entities in the posted links (i.e. ampersand) (4 posts)

  1. nv1962
    Member
    Posted 11 months ago #

    I like the BTTL plugin a lot - but I'd also like the resulting code to come out as clean as possible. I have modified the plugin code a bit to replace "hard" ampersands with properly encoded versions - i.e. replacing & with & - and that's as simple as the "fix" is to output proper HTML.

    It's so silly and simply that I don't think it's necessary to post the modified code here... To the author: please include that fix in your next release! :-)

    TIA

    http://wordpress.org/extend/plugins/bayesian-top-title-learner/

  2. gversteeg
    Member
    Posted 11 months ago #

    Validation is good. Done as of version .23

  3. nv1962
    Member
    Posted 11 months ago #

    Now that's just plain scary, such a turnaround blitz! Awesome. Thanks again - that fix works the validation miracle for me too now.

    Now, just a semi-related reminder for others: if you do use the automatic plugin update feature, don't forget to move the plugin named bttl.php out of the /bayesian-top-title-learner/ folder and one level up, into the /wp-content/plugins/ folder... Else, chances are the BTTL created links don't work (it almost threw me for an infinite loop when I upgraded to .23 just a few minutes ago).

  4. gversteeg
    Member
    Posted 11 months ago #

    I've been meaning to make it less reliant on being in a specific folder, someday...

Reply

You must log in to post.

About this Topic