Skip to content

Commit

Permalink
Fix PHP error "undefined variable"
Browse files Browse the repository at this point in the history
  • Loading branch information
KopfdesDaemons committed Dec 2, 2023
1 parent 527ced8 commit ab3d10f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion customizer-options/css-variables.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ function blog_layouts_hex2hsl($hex)

/* Header Settings */
--blog_layouts_header_menu_font_size: <?php echo esc_attr(get_theme_mod('header_menu_font_size_setting', '14')) . 'px'; ?>;
--blog_layouts_home_margin_to_header: <?php echo $blog_layouts_home_margin_to_header; ?>;

/* Post Settings */
--blog_layouts_background_color_posts: <?php echo esc_attr(get_theme_mod('background_color_posts', '')); ?>;
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ particularly extensive. There is a landing page with a widget area.

== Changelog ==

= 1.0.1 =
- Fix PHP error "undefined variable"

= 1.0.0 =
- Initial release

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 @@ Author URI: https://ricoswebsite.com/
Text Domain: blog-layouts
Description: Blog Layouts is a modern theme for blogs. A core feature is swapping layouts. The primary color is customizable. It has a tidy, wide layout with a sidebar, which is right at the edge and doesn't get in the way. The author page is particularly extensive. There is a landing page with a widget area.
Tags: blog, one-column, two-columns, right-sidebar, custom-colors, custom-header, custom-menu, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
Version: 1.0.0
Version: 1.0.1
Requires at least: 5.0
Requires PHP: 7.0
Tested up to: 6.2
Expand Down
2 changes: 1 addition & 1 deletion style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Author URI: https://ricoswebsite.com/
Text Domain: blog-layouts
Description: Blog Layouts is a modern theme for blogs. A core feature is swapping layouts. The primary color is customizable. It has a tidy, wide layout with a sidebar, which is right at the edge and doesn't get in the way. The author page is particularly extensive. There is a landing page with a widget area.
Tags: blog, one-column, two-columns, right-sidebar, custom-colors, custom-header, custom-menu, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
Version: 1.0.0
Version: 1.0.1
Requires at least: 5.0
Requires PHP: 7.0
Tested up to: 6.2
Expand Down

0 comments on commit ab3d10f

Please sign in to comment.