Make WordPress Core

Ticket #24813: 24813.2.diff

File 24813.2.diff, 633 bytes (added by georgestephanis, 13 years ago)
  • wp-includes/class.wp-styles.php

     
    8787
    8888                if ( $this->do_concat ) {
    8989                        $this->print_html .= $tag;
    90                         $this->print_html .= $this->print_inline_style( $handle, false );
     90                        $this->print_html .= sprintf( "<style type='text/css'>\n%s\n</style>\n", $this->print_inline_style( $handle, false ) );
    9191                } else {
    9292                        echo $tag;
    93                         echo $this->print_inline_style( $handle, false );
     93                        $this->print_inline_style( $handle );
    9494                }
    9595
    9696                return true;