twentyfourteen compat. closes #4272

This commit is contained in:
James Koster 2013-12-09 09:55:11 +00:00
parent 0c952a1587
commit c22ebcc7ae
3 changed files with 9 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -324,4 +324,11 @@
margin-right: 54px;
}
}
.full-width {
.twentyfourteen {
.tfwc {
margin-right: auto;
}
}
}
}

View File

@ -35,7 +35,7 @@ class WC_Admin_Notices {
$template = get_option( 'template' );
if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( $template, array( 'twentythirteen', 'twentyeleven', 'twentytwelve', 'twentyten' ) ) ) {
if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( $template, array( 'twentyfourteen', 'twentythirteen', 'twentyeleven', 'twentytwelve', 'twentyten' ) ) ) {
if ( ! empty( $_GET['hide_woocommerce_theme_support_check'] ) ) {
update_option( 'woocommerce_theme_support_check', $template );