WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp_add_inline_style not working correctly (3 posts)

  1. phoenixMagoo
    Member
    Posted 1 year ago #

    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}

  2. phoenixMagoo
    Member
    Posted 1 year ago #

    It looks like this is being looked at: Ticket 24813

  3. phoenixMagoo
    Member
    Posted 1 year ago #

    AND it looks this is resolved. Just downloaded the latest class.wp-styles.php (25786) and functions.wp-styles.php (25786) from trunk and everything is back to normal.

Topic Closed

This topic has been closed to new replies.

About this Topic