Permalink
Browse files

Remove ’projection’ from CSS media types

This is now an invalid media type for CSS files, ‘screen’ will more than suffice thanks.
  • Loading branch information...
Jonnyauk committed Aug 29, 2017
1 parent 1f6c9ed commit b7d51c040466afbf62314fab527ae645728d98d5
Showing with 5 additions and 5 deletions.
  1. +5 −5 wf-includes/wf-display-functions.php
@@ -265,7 +265,7 @@ function wf_head_css_structure() {
$version = apply_filters( 'wflux_css_structure_version', $version );
$id = apply_filters( 'wflux_css_structure_id', $id );
wp_register_style( $id, $path, '', $version, 'screen, projection' );
wp_register_style( $id, $path, '', $version, 'screen' );
wp_enqueue_style( $id );
}
@@ -298,7 +298,7 @@ function wf_head_css_columns() {
$path = WF_CONTENT_URL . '/css/wf-css-' . $file . '.php';
$version = 'wfx-dynamic';
$id = 'wfx-columns';
$media = 'screen, projection';
$media = 'screen';
// Allow filtering
$path = apply_filters( 'wflux_css_columns_path', $path );
@@ -338,7 +338,7 @@ function wf_head_css_ie() {
$path = WF_CONTENT_URL . '/css/wf-css-dynamic-core-ie.php';
$version = 'wfx-dynamic';
$id = 'wfx-ie';
$media = 'screen, projection';
$media = 'screen';
// Allow filtering
$path = apply_filters( 'wflux_css_ie_path', $path );
@@ -374,7 +374,7 @@ function wf_head_css_theme() {
// Allow filtering
$id = apply_filters( 'wflux_css_theme_id', 'main-theme' );
$path = apply_filters( 'wflux_css_theme_path', WF_THEME_URL.'/style.css' );
$media = apply_filters( 'wflux_css_theme_media', 'screen, projection' );
$media = apply_filters( 'wflux_css_theme_media', 'screen' );
wp_register_style( $id, $path, '', $this->wfx_mytheme_version_clean, $media );
wp_enqueue_style( $id );
@@ -451,7 +451,7 @@ function wf_head_css_replace() {
$version = $this->wfx_mytheme_version_clean;
$id = 'framework';
$id_ie = 'framework-ie';
$media = 'screen, projection';
$media = 'screen';
// Allow filtering
$media = apply_filters( 'wflux_css_theme_framework_media', $media );

0 comments on commit b7d51c0

Please sign in to comment.