WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] XHTML Validation failed cause of malformed uri (2 posts)

  1. Hitoride
    Member
    Posted 8 years ago #

    If themes authors leave spaces between "Author URI:" and their uri in their theme file, an XHTML parsing error appears.
    Add $author_uri[1] = trim($author_uri[1]);
    at line 1734 of ./wp-includes/functions.php to solve the problem.

  2. Hitoride
    Member
    Posted 8 years ago #

    Another one failure appears when you have not any link in the "Incoming Links" section of the admin pannel.
    To solve the problem, simply change line 28 of ./wp-admin/index.php from [...]<?php echo wp_filter_kses($item['link']); ?>[...] to [...]<?php echo (wp_filter_kses($item['link']) == "")?'.':wp_filter_kses($item['link']); ?>[...]

Topic Closed

This topic has been closed to new replies.

About this Topic