Skip to content

Commit

Permalink
no more typography like this.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Powers committed Jul 4, 2013
1 parent 03327c7 commit a6febe5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions editor/editor.less.libs.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,18 +391,12 @@ private function get_all_active_sections() {

/**
*
* Move googlefont code to top of compiled css.
* DEPRECATED
*
* @package PageLines Framework
* @since 3.0
*/
public function googlefont_replace( $data ) {

$gfonts = preg_match( '#(@import[^;]*;)#', $data['type'], $g );
if ( $gfonts ) {
$data['compiled_core'] = sprintf( "%s\n%s", $g[1], $data['compiled_core'] );
$data['type'] = str_replace( $g[1], '', $data['type'] );
}

return $data;
}

Expand Down

0 comments on commit a6febe5

Please sign in to comment.