WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Broken non-valid code in media.php (2 posts)

  1. Axel Berger
    Member
    Posted 6 years ago #

    Media.php writes a <style> block right into the middle of the text body, so the page will not validate. I consider this a grave bug.

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    Loudly seconded! I normally re-write the shortcode within functions.php to move the styling out of the page completely and then place it in the stylesheet - where it belongs.

Topic Closed

This topic has been closed to new replies.

About this Topic