Prepare Underscores for Coding Standards. See https://github.com/Automattic/_s/issues/553.

This commit is contained in:
Philip Arthur Moore 2014-08-17 23:40:13 +07:00
parent e88ad83914
commit 895b7a93ab
4 changed files with 125 additions and 5 deletions

View file

@ -44,13 +44,13 @@ function _s_setup() {
register_nav_menus( array(
'primary' => __( 'Primary Menu', '_s' ),
) );
/*
* Switch default core markup for search form, comment form, and comments
* to output valid HTML5.
*/
add_theme_support( 'html5', array(
'search-form', 'comment-form', 'comment-list', 'gallery', 'caption'
'search-form', 'comment-form', 'comment-list', 'gallery', 'caption',
) );
/*
@ -58,7 +58,7 @@ function _s_setup() {
* See http://codex.wordpress.org/Post_Formats
*/
add_theme_support( 'post-formats', array(
'aside', 'image', 'video', 'quote', 'link'
'aside', 'image', 'video', 'quote', 'link',
) );
// Setup the WordPress core custom background feature.