Skip to content

Commit

Permalink
Merge pull request #273 from studiopress/develop
Browse files Browse the repository at this point in the history
Genesis Sample 3.0.1
  • Loading branch information
dreamwhisper authored Jun 24, 2019
2 parents 4a1a40a + a666727 commit 7d62fab
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Genesis Sample Theme Changelog

## [3.0.1] - 2019-06-25
* Use current theme name instead of 'genesis-sample' when enqueueing assets. This ensures assets continue to load if the theme is renamed.

## [3.0.0] - 2019-06-19
Requires Genesis 3.0.0+.

Expand Down Expand Up @@ -139,6 +142,7 @@ Requires Genesis 2.8.0+.
* Set localization.
* Update XML file.

[3.0.1]: https://github.com/studiopress/genesis-sample/compare/3.0.0...3.0.1
[3.0.0]: https://github.com/studiopress/genesis-sample/compare/2.10.0...3.0.0
[2.10.0]: https://github.com/studiopress/genesis-sample/compare/2.9.1...2.10.0
[2.9.1]: https://github.com/studiopress/genesis-sample/compare/2.9.0...2.9.1
Expand Down
4 changes: 2 additions & 2 deletions languages/genesis-sample.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the GPL-2.0-or-later.=!>
msgid ""
msgstr ""
"Project-Id-Version: Genesis Sample 3.0.0\n"
"Project-Id-Version: Genesis Sample 3.0.1\n"
"Report-Msgid-Bugs-To: StudioPress <[email protected]>\n"
"POT-Creation-Date: 2019-06-17 13:33:45+00:00\n"
"POT-Creation-Date: 2019-06-24 16:51:49+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
4 changes: 2 additions & 2 deletions lib/gutenberg/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
function genesis_sample_enqueue_gutenberg_frontend_styles() {

wp_enqueue_style(
'genesis-sample-gutenberg',
genesis_get_theme_handle() . '-gutenberg',
get_stylesheet_directory_uri() . '/lib/gutenberg/front-end.css',
array( genesis_get_theme_handle() ),
genesis_get_theme_version()
Expand All @@ -36,7 +36,7 @@ function genesis_sample_block_editor_styles() {
$appearance = genesis_get_config( 'appearance' );

wp_enqueue_style(
'genesis-sample-gutenberg-fonts',
genesis_get_theme_handle() . '-gutenberg-fonts',
$appearance['fonts-url'],
array(),
genesis_get_theme_version()
Expand Down
2 changes: 1 addition & 1 deletion lib/gutenberg/inline-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function genesis_sample_custom_gutenberg_admin_css() {
}
CSS;

wp_add_inline_style( 'genesis-sample-gutenberg-fonts', $css );
wp_add_inline_style( genesis_get_theme_handle() . '-gutenberg-fonts', $css );

}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"description": "The sample child theme for the Genesis Framework.",
"author": "StudioPress",
"authoruri": "https://www.studiopress.com/",
"version": "3.0.0",
"version": "3.0.1",
"tags": "one-column, two-columns, left-sidebar, right-sidebar, accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready",
"license": "GPL-2.0-or-later",
"licenseuri": "https://www.gnu.org/licenses/gpl-2.0.html",
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Description: This is the sample theme created for the Genesis Framework.
Author: StudioPress
Author URI: https://www.studiopress.com/
Version: 3.0.0
Version: 3.0.1
Tags: accessibility-ready, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, left-sidebar, one-column, right-sidebar, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, two-columns, wide-blocks
Expand Down

0 comments on commit 7d62fab

Please sign in to comment.