• Resolved lunaraurora

    (@lunaraurora)


    Just quick fixes to your code, to comply with w3c validator (in case you are interested):

    edit
    wp-content/plugins/wp-social-seo-booster/includes/widgets/wps-seo-booster-ratings-widget.php

    line 167:
    tag not closed:
    replace
    <tr>
    with
    </tr>

    line 255:
    replace
    <td width=”90px” class=”wps-seo-booster-rating-td” align=”center”>
    with
    <td width=”90” class=”wps-seo-booster-rating-td” align=”center”>
    to avoid an error with w3c validator

    line 257:
    replace
    <span class=”wps-seo-booster-rating wps-seo-booster-stars_’ . $stars . ‘”></span>
    with
    <span class=”wps-seo-booster-rating wps-seo-booster-stars_’ . $stars . ‘”>&+nbsp;</span> (remove the ‘+’ after ‘&’ and before ‘nbsp;’)
    this will fix an empty tag and make valid the code in w3c

    There are also many tags not closed in this file:
    wp-content/plugins/wp-social-seo-booster/includes/wps-seo-booster-ogp.php

    EX:
    <meta property=”og:title” content=”‘ . esc_attr( $home_title ) . ‘”>
    and many others, without the proper trailing slash ( /> ) that close the tag.
    I hope to have contributed a little

    http://wordpress.org/extend/plugins/wp-social-seo-booster/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘quick fixes to code’ is closed to new replies.