Skip to content

Commit

Permalink
🎨 Add trailing commas (#3032)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafredrickson authored Apr 27, 2022
1 parent 828e570 commit 112bec8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'clean-up',
'nav-walker',
'nice-search',
'relative-urls'
'relative-urls',
]);

/**
Expand All @@ -55,7 +55,7 @@
* @link https://developer.wordpress.org/reference/functions/register_nav_menus/
*/
register_nav_menus([
'primary_navigation' => __('Primary Navigation', 'sage')
'primary_navigation' => __('Primary Navigation', 'sage'),
]);

/**
Expand Down Expand Up @@ -93,7 +93,7 @@
'gallery',
'search-form',
'script',
'style'
'style',
]);

/**
Expand All @@ -113,16 +113,16 @@
'before_widget' => '<section class="widget %1$s %2$s">',
'after_widget' => '</section>',
'before_title' => '<h3>',
'after_title' => '</h3>'
'after_title' => '</h3>',
];

register_sidebar([
'name' => __('Primary', 'sage'),
'id' => 'sidebar-primary'
'id' => 'sidebar-primary',
] + $config);

register_sidebar([
'name' => __('Footer', 'sage'),
'id' => 'sidebar-footer'
'id' => 'sidebar-footer',
] + $config);
});

0 comments on commit 112bec8

Please sign in to comment.