WordPress.org

Support

Support » Requests and Feedback » Broken non-valid code in media.php

Broken non-valid code in media.php

  • Axel Berger

    @absalom_nemini

    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.

Viewing 1 replies (of 1 total)
  • esmi

    @esmi

    Forum Moderator

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Broken non-valid code in media.php’ is closed to new replies.