Skip to content

Commit

Permalink
Update Astra theme from 4.3.0 to 4.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpoke-bot committed Sep 5, 2023
1 parent 4920116 commit 4750831
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 26 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-content/themes/astra/assets/css/minified/main.min.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-content/themes/astra/assets/css/minified/style.min.css

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion wp-content/themes/astra/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
v4.3.0 (Unreleased)
v4.3.1
- Fix: Block - Lists block style type updated to "disc" after v4.3.0 update.
- Fix: Block Editor - Text color not inheriting as per the settings saved in customizer.
- Fix: Single - Banner's custom background not working for Layout 1.

v4.3.0
- New: Header-Footer Builder - Social - Enable Brand Color option on hover.
- Improvement: Introducing new admin notice for incompatibility of Astra Pro.
- Improvement: WooCommerce - Mini Cart - Cart price details do not update on the “Enter” keypress.
Expand Down
2 changes: 1 addition & 1 deletion wp-content/themes/astra/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Define Constants
*/
define( 'ASTRA_THEME_VERSION', '4.3.0' );
define( 'ASTRA_THEME_VERSION', '4.3.1' );
define( 'ASTRA_THEME_SETTINGS', 'astra-settings' );
define( 'ASTRA_THEME_DIR', trailingslashit( get_template_directory() ) );
define( 'ASTRA_THEME_URI', trailingslashit( esc_url( get_template_directory_uri() ) ) );
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,9 @@ public static function get_css() {
'.editor-styles-wrapper a' => array(
'color' => esc_attr( $link_color ),
),
'.block-editor-block-list__block' => array(
'color' => esc_attr( $text_color ),
),
// Global selection CSS.
'.block-editor-block-list__layout .block-editor-block-list__block ::selection,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .editor-block-list__block-edit:before' => array(
'background-color' => esc_attr( $theme_color ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ function astra_post_archive_structure_dynamic_css( $dynamic_css, $dynamic_css_fi
if ( class_exists( 'WooCommerce' ) && 'product' === $current_post_type ) {
if ( 'custom' === $background_type ) {
$custom_background = astra_get_option( 'ast-dynamic-archive-' . $current_post_type . '-banner-custom-bg' );
$css_output_desktop['.archive .ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'desktop' );
$css_output_tablet['.archive .ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'tablet' );
$css_output_mobile['.archive .ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'mobile' );
$css_output_desktop['.archive section.ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'desktop' );
$css_output_tablet['.archive section.ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'tablet' );
$css_output_mobile['.archive section.ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'mobile' );
} else {
// @codingStandardsIgnoreStart
/**
Expand All @@ -186,31 +186,31 @@ function astra_post_archive_structure_dynamic_css( $dynamic_css, $dynamic_css_fi
$overlay_color = astra_get_option( 'ast-dynamic-archive-' . $current_post_type . '-banner-featured-overlay', '' );
$taxonomy = $wp_query->get_queried_object();
if ( is_callable( 'is_shop' ) && is_shop() && '' !== $overlay_color ) {
$css_output_desktop['.archive .ast-archive-description']['background'] = $overlay_color;
$css_output_desktop['.archive section.ast-archive-description']['background'] = $overlay_color;
}
if ( ! empty( $taxonomy->term_id ) ) {
$thumbnail_id = get_term_meta( $taxonomy->term_id, 'thumbnail_id', true );
$feat_image_src = wp_get_attachment_url( $thumbnail_id );
if ( $feat_image_src ) {
$css_output_desktop['.archive .ast-archive-description'] = array(
$css_output_desktop['.archive section.ast-archive-description'] = array(
'background' => 'url( ' . esc_url( $feat_image_src ) . ' )',
'background-repeat' => 'no-repeat',
'background-attachment' => 'scroll',
'background-position' => 'center center',
'background-size' => 'cover',
);
if ( '' !== $overlay_color ) {
$css_output_desktop['.archive .ast-archive-description']['background'] = 'url( ' . esc_url( $feat_image_src ) . ' ) ' . $overlay_color;
$css_output_desktop['.archive .ast-archive-description']['background-blend-mode'] = 'multiply';
$css_output_desktop['.archive section.ast-archive-description']['background'] = 'url( ' . esc_url( $feat_image_src ) . ' ) ' . $overlay_color;
$css_output_desktop['.archive section.ast-archive-description']['background-blend-mode'] = 'multiply';
}
}
}
}
} else {
$custom_background = astra_get_option( 'ast-dynamic-archive-' . $current_post_type . '-banner-custom-bg' );
$css_output_desktop['.archive .ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'desktop' );
$css_output_tablet['.archive .ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'tablet' );
$css_output_mobile['.archive .ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'mobile' );
$css_output_desktop['.archive section.ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'desktop' );
$css_output_tablet['.archive section.ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'tablet' );
$css_output_mobile['.archive section.ast-archive-description'] = astra_get_responsive_background_obj( $custom_background, 'mobile' );
}
}
} else {
Expand Down
4 changes: 2 additions & 2 deletions wp-content/themes/astra/languages/astra.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GNU General Public License v2 or later.
msgid ""
msgstr ""
"Project-Id-Version: Astra 4.3.0\n"
"Project-Id-Version: Astra 4.3.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/astra\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-08-29T09:02:34+00:00\n"
"POT-Creation-Date: 2023-09-04T09:02:34+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.7.1\n"
"X-Domain: astra\n"
Expand Down
4 changes: 2 additions & 2 deletions wp-content/themes/astra/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: brainstormforce
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, custom-logo, entertainment, featured-images, full-width-template, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
Tested up to: 6.3.1
Tested up to: 6.3
Requires PHP: 5.3
Stable tag: 4.3.0
Stable tag: 4.3.1

Astra is fast, fully customizable & beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront.

Expand Down
4 changes: 2 additions & 2 deletions wp-content/themes/astra/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Theme URI: https://wpastra.com/
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Astra is fast, fully customizable & beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with Schema.org code integrated and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL & Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and WooCommerce ready theme that you can use for building any kind of website!
Version: 4.3.0
Version: 4.3.1
Requires at least: 5.3
Tested up to: 6.3.1
Tested up to: 6.3
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down

0 comments on commit 4750831

Please sign in to comment.