From 07388d2e41e36c2110e4b42220bc9ac3bc592929 Mon Sep 17 00:00:00 2001 From: Takashi Kitajima Date: Thu, 13 Oct 2016 15:03:24 +0900 Subject: [PATCH] Fix error Theme Check plugin --- app/setup/setup.php | 5 +++++ src/stylus/foundation/foundation.styl | 4 ---- src/stylus/object/project/drawer.styl | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/setup/setup.php b/app/setup/setup.php index c0bb5820..d847cbc5 100644 --- a/app/setup/setup.php +++ b/app/setup/setup.php @@ -39,6 +39,11 @@ */ add_theme_support( 'html5', [ 'caption', 'comment-form', 'comment-list', 'gallery', 'search-form' ] ); + /** + * Add default posts and comments RSS feed links to head. + */ + add_theme_support( 'automatic-feed-links' ); + /** * Use main stylesheet for visual editor */ diff --git a/src/stylus/foundation/foundation.styl b/src/stylus/foundation/foundation.styl index 0abeb1b8..4370e14e 100644 --- a/src/stylus/foundation/foundation.styl +++ b/src/stylus/foundation/foundation.styl @@ -1,7 +1,3 @@ -#wpadminbar { - z-index: 1; -} - body { word-wrap: break-word; background-color: #fff; diff --git a/src/stylus/object/project/drawer.styl b/src/stylus/object/project/drawer.styl index 5d4c4b6d..cf4646a1 100644 --- a/src/stylus/object/project/drawer.styl +++ b/src/stylus/object/project/drawer.styl @@ -2,7 +2,7 @@ @extend .{bs-prefix}c-drawer; &__body { - z-index: 10000; + z-index: 100000; } &__btn {