Skip to content

Commit

Permalink
Merge pull request #1155 from vektor-inc/fix/undefined-variable-get_e…
Browse files Browse the repository at this point in the history
…ntry-meta

[ Change version ] 15.25.1 / fix php warning
  • Loading branch information
kurudrive authored Jul 2, 2024
2 parents 6233590 + 1a06d34 commit 5b50c2b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
7 changes: 3 additions & 4 deletions _g3/inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ function lightning_the_footer_copyight() {
// Powered.
$lightning_footer_powered = __( '<p>Powered by <a href="https://wordpress.org/">WordPress</a> &amp; <a href="https://wordpress.org/themes/lightning/" target="_blank" title="Free WordPress Theme Lightning"> Lightning Theme</a> by Vektor,Inc. technology.</p>', 'lightning' );
echo wp_kses_post( apply_filters( 'lightning_footerPoweredCustom', $lightning_footer_powered ) );

}

/**
Expand Down Expand Up @@ -317,9 +316,9 @@ function lightning_get_entry_meta( $options = array() ) {
);

$option = apply_filters( 'lightning_get_entry_meta_options', wp_parse_args( $options, $defaults ) );

$html = '';
if ( $option['published'] || $option['updated'] || $option['author_name'] || $option['author_image'] ) {
$html = '<div class="' . $option['class_outer'] . '">';
$html .= '<div class="' . $option['class_outer'] . '">';

if ( $option['published'] ) {
$html .= '<span class="entry-meta-item entry-meta-item-date">
Expand Down Expand Up @@ -409,4 +408,4 @@ function lightning_is_woo_page() {
return true;
}
return false;
}
}
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Lightning WordPress theme, Copyright (C) 2015-2024 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.
Tested up to: 6.5
Stable tag: 15.25.0
Stable tag: 15.25.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -37,6 +37,9 @@ https://www.vektor-inc.co.jp/inquiry/

== Changelog ==

v15.25.1
[ G3 ][ Bug fix ] Fix PHP warning

v15.25.0
[ G3 ][ Add function ] Add max height setteing for header logo.

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 @@ Theme URI: https://lightning.vektor-inc.co.jp/en/
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Version: 15.25.0
Version: 15.25.1
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
Expand Down

0 comments on commit 5b50c2b

Please sign in to comment.