Skip to content

Commit 0897eb6

Browse files
committed
Version 1.2.3
* Changes to ensure compatibility to recent WordPress versions
1 parent 1d5bf18 commit 0897eb6

File tree

5 files changed

+21
-3
lines changed

5 files changed

+21
-3
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121

2222
## Changelog
2323

24+
### 1.2.3
25+
* Changes to ensure compatibility to recent WordPress versions
26+
27+
### 1.2.2
28+
* Fixed an error in build script that resulted in yielding broken JS
29+
2430
### 1.2.1
2531
* Several "under the hood" improvements
2632

src/theme/footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<span class="category enigma-icon" data-icon="&#62280;" aria-hidden="true"></span>
44
<div class="modifyme">
55
<div id="information">
6-
<img src="<?php echo get_theme_mod('enigma_2015_information_image', get_template_directory_uri().'/screenshot.png'); ?>"
6+
<img src="<?php echo esc_attr( get_theme_mod('enigma_2015_information_image', get_template_directory_uri().'/screenshot.png') ); ?>"
77
alt="<?php echo bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" />
88
<?php echo apply_filters( 'the_content', get_theme_mod('enigma_2015_information_about', __('Welcome to my blog', 'e.nigma-2015')) ); ?>
99
</div>

src/theme/header.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
footer a:visited,
1212
footer aside#sidebar ul li a,
1313
footer aside#sidebar ul li a:visited {
14-
color: #<?php echo get_theme_mod('enigma_2015_header_link_color', 'FAFAFA') ?>;
14+
color: #<?php echo esc_attr( get_theme_mod('enigma_2015_header_link_color', 'FAFAFA') ) ?>;
1515
}
1616

1717
header div.placeholder span.description,
@@ -26,6 +26,13 @@
2626
</style>
2727
</head>
2828
<body <?php body_class(); ?>>
29+
<?php
30+
if ( function_exists('wp_body_open') ) {
31+
wp_body_open();
32+
} else {
33+
do_action('wp_body_open');
34+
}
35+
?>
2936
<a href="#primary_content" class="screen-reader-text"><?php esc_html_e('Skip to content', 'e.nigma-2015'); ?></a>
3037
<a href="#primary_navigation" class="screen-reader-text"><?php esc_html_e('Skip to Navigation', 'e.nigma-2015'); ?></a>
3138
<div id="wrapper">

src/theme/readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ If using the "image" post-type it is recommended to set the image you want to sh
2424

2525
## Changelog
2626

27+
### 1.2.3
28+
* Changes to ensure compatibility to recent WordPress versions
29+
2730
### 1.2.2
2831
* Fixed an error in build script that resulted in yielding broken JS
2932

src/theme/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
Theme Name: e.nigma 2015
33
Description: e.nigma 2015 is a light-weight, modern and simple WordPress theme. It is thought to be used with WordPress posts formats.
44
Author: Alexander Lüken
5-
Version: 1.2.2
5+
Version: 1.2.3
66
Theme URI: https://sciolism.de/projects/e.nigma-2015/
77
Author URI: https://sciolism.de
8+
Tested up to: 5.5
9+
Requires PHP: 5.3
810
License: MIT
911
License URI: license.txt
1012
Text Domain: e.nigma-2015

0 commit comments

Comments
 (0)