• wp-includes/links.php

    1.2.2
    Line 562
    // Display the category name
    echo " <li id="".sanitize_title($cat["cat_name"])."">" . stripslashes($cat["cat_name"]) . "nt<ul>n";

    1.5
    Line 503
    // Display the category name
    echo " <li id="linkcat-" . $cat["link_category"] . ""><h2>" . $cat["cat_name"] . "</h2>nt<ul>n";

    Remove the <h2> and </h2> tags to revert back if you have upgraded and this is causing problems ?

    **Untested – keep a backup.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Phoat

    (@phoat)

    why is the li and h2 tags doing there in the first place? Should that be up to the user to decide if he wants to use h2 and li for the links?

    desk003

    (@desk003)

    Thanks for pointing it out Podz

    Thread Starter Mark (podz)

    (@podz)

    It is now line 551 in 1.5.1

    Instead of editing the file, you can use CSS to make the <h2>s appear just like they did before.

    Thread Starter Mark (podz)

    (@podz)

    True ! ??

    Wouldn’t be easier NOT to have this h2 in the code since nobody really wants it???

    >Wouldn’t be easier NOT to have this h2 in the code since >nobody really wants it???

    I agree, why is the h2 tag only in the Links section? Are links more important than Categories, and Archives? It’s annoying to hunt down and rip out the h2 code every time I upgrade.

    If the h2 tag is going to be in the link header then use it with the other headers (Categories, and Archives). Have a litte consistency.

    I know it’s been a long time but. Thank You!!!!!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘1.5, Link cats and the h2 tag’ is closed to new replies.