WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Axel Berger
    Member
    Posted 4 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
    Theme Diva & Forum Moderator
    Posted 4 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