WordPress.org

Make WordPress Core

Ticket #20836: add-inline-style.patch

File add-inline-style.patch, 470 bytes (added by stephenh1988, 10 years ago)

Patch for adding in-line styles to concatenated scripts

  • wp-includes/class.wp-styles.php

     
    5050                                $this->concat .= "$handle,";
    5151                                $this->concat_version .= "$handle$ver";
    5252
    53                                 $this->print_code .= $this->get_data( $handle, 'after' );
     53                                $this->print_code .= $this->print_inline_style( $handle, false );
    5454
    5555                                return true;
    5656                        }