WordPress.org

Support

Support » Alpha/Beta » [Resolved] wp_add_inline_style not working correctly

[Resolved] wp_add_inline_style not working correctly

  • The inline style is still added to the head of the document. However, the inline style is NOT being wrapped in a <style> tag. For example: in 3.3 – 3.6 the inline style in the <head> looks like this:

    <style type='text/css'>
    .gallery-item {width: 300px !important}
    </style>

    As of the latest 3.7 beta, it prints out as:

    .gallery-item {width: 300px !important}

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] wp_add_inline_style not working correctly’ is closed to new replies.
Skip to toolbar