quick fixes to code
-
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.phpline 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 validatorline 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 w3cThere are also many tags not closed in this file:
wp-content/plugins/wp-social-seo-booster/includes/wps-seo-booster-ogp.phpEX:
<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 littlehttps://www.ads-software.com/extend/plugins/wp-social-seo-booster/
- The topic ‘quick fixes to code’ is closed to new replies.