Housekeeping (#2520)

* enhance(project): Add .prettierrc to project
* chore(deps): Bump dependencies
* chore(view): Improve readability of the search form view
* chore(admin): Improve language used in the customize_register filter docblock
* chore(lint): Lint project assets
* chore(change-log): Improve/prepare the changelog for actual release
* chore(readme): Improve README feature list
* chore(readme): Update README theme directory structure
* chore(readme): Add GitHub sponsors badge
* chore(readme): Clean up various wording
* fix(ci): Fix failing tests
* fix(mix): Add index.php to purgecss scope (Supersedes #2423) (Credit @oxyc)
This commit is contained in:
Brandon
2020-08-20 13:35:15 -05:00
committed by GitHub
parent 5535ea6184
commit 24ac51d510
14 changed files with 2890 additions and 2559 deletions

View File

@@ -93,7 +93,15 @@ add_action('after_setup_theme', function () {
* Enable HTML5 markup support
* @link https://developer.wordpress.org/reference/functions/add_theme_support/#html5
*/
add_theme_support('html5', ['caption', 'comment-form', 'comment-list', 'gallery', 'search-form', 'script', 'style']);
add_theme_support('html5', [
'caption',
'comment-form',
'comment-list',
'gallery',
'search-form',
'script',
'style'
]);
/**
* Enable selective refresh for widgets in customizer
@@ -107,8 +115,8 @@ add_action('after_setup_theme', function () {
*/
add_theme_support('editor-color-palette', [
[
'name' => __('Primary', 'sage'),
'slug' => 'primary',
'name' => __('Primary', 'sage'),
'slug' => 'primary',
'color' => '#525ddc',
]
]);