_print_styles

Definition:
function _print_styles() {}

Source code

function _print_styles() {

	global $wp_styles, $compress_css;



	$zip = $compress_css ? 1 : 0;

	if ( $zip && defined('ENFORCE_GZIP') && ENFORCE_GZIP )

		$zip = 'gzip';



	if ( !empty($wp_styles->concat) ) {

		$dir = $wp_styles->text_direction;

		$ver = md5("$wp_styles->concat_version{$dir}");

		$href = $wp_styles->base_url . "/wp-admin/load-styles.php?c={$zip}&dir={$dir}&load=" . trim($wp_styles->concat, ', ') . "&ver=$ver";

17973

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: