Skip to content

Commit

Permalink
Merge pull request #118 from brainstormforce/next-release
Browse files Browse the repository at this point in the history
Next release version 1.5.9
  • Loading branch information
sushmak02 authored Jul 11, 2024
2 parents 7c47c3c + df319ed commit 7bf0afb
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 9 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**Tags:** beaver builder, beaver builder free, beaver addons, beaver builder addon, beaver builder add ons, beaver builder lite, beaver builder modules, beaver builder addons, beaver builder extensions, beaver addon, beaver builder plugin, beaver builder wordpress
**Requires at least:** 4.6
**Tested up to:** 6.6
**Stable tag:** 1.5.8
**Stable tag:** 1.5.9
**License:** GPLv2 or later
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -215,6 +215,10 @@ Yes it is! This plugin comes with .po and .mo files. It is already translated in

## Changelog ##

### 1.5.9 ###
* Improvement: WPML compatibility for the Heading and Ribbon module.
* Improvement: Improved codebase for improved security.

### 1.5.8 ###
* Improvement: This update addressed a security bug. Props to Patchstack for privately reporting it to our team.
* Fixed: Info List - Undefined variable issue with PHP 8.
Expand Down
4 changes: 2 additions & 2 deletions bb-ultimate-addon.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Ultimate Addons for Beaver Builder - Lite
* Plugin URI: http://www.ultimatebeaver.com/
* Description: Ultimate Addons is a free extension for Beaver Builder that adds 10 modules, and works on top of any Beaver Builder Package. (Free, Standard, Pro & Agency) You can use it with on any WordPress theme.
* Version: 1.5.8
* Version: 1.5.9
* Author: Brainstorm Force
* Author URI: http://www.brainstormforce.com
* Text Domain: uabb
Expand All @@ -18,7 +18,7 @@

define( 'BB_ULTIMATE_ADDON_DIR', plugin_dir_path( __FILE__ ) );
define( 'BB_ULTIMATE_ADDON_URL', plugins_url( '/', __FILE__ ) );
define( 'BB_ULTIMATE_ADDON_LITE_VERSION', '1.5.8' );
define( 'BB_ULTIMATE_ADDON_LITE_VERSION', '1.5.9' );
define( 'BSF_REMOVE_UABB_FROM_REGISTRATION_LISTING', true );
define( 'BB_ULTIMATE_ADDON_FILE', trailingslashit( dirname( __FILE__ ) ) . 'bb-ultimate-addon.php' );// @codingStandardsIgnoreLine.
define( 'BB_ULTIMATE_ADDON_LITE', true );
Expand Down
33 changes: 33 additions & 0 deletions classes/class-uabb-wpml.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,39 @@ static public function wpml_uabb_modules_translate( $form ) {
),
),
);
// Heading Module.
$form['uabb-heading'] = array(
'conditions' => array( 'type' => 'uabb-heading' ),
'fields' => array(
array(
'field' => 'heading',
'type' => __( 'Heading Text', 'uabb' ),
'editor_type' => 'LINE',
),
array(
'field' => 'link',
'type' => __( 'Link', 'uabb' ),
'editor_type' => 'LINK',
),
array(
'field' => 'description',
'type' => __( 'Description Text', 'uabb' ),
'editor_type' => 'LINE',
),
),
);

// Ribbon.
$form['ribbon'] = array(
'conditions' => array( 'type' => 'ribbon' ),
'fields' => array(
array(
'field' => 'title',
'type' => __( 'Ribbon Message', 'uabb' ),
'editor_type' => 'LINE',
),
),
);

return $form;
}
Expand Down
4 changes: 2 additions & 2 deletions modules/image-icon/includes/frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<?php if ( 'icon' == $settings->image_type ) { ?>
<span class="uabb-icon-wrap">
<span class="uabb-icon">
<i class="<?php echo $settings->icon; ?>"></i>
<i class="<?php echo esc_attr($settings->icon); ?>"></i>
</span>
</span>
<?php } // Icon Html End. ?>
Expand All @@ -30,7 +30,7 @@
?>
" itemscope itemtype="http://schema.org/ImageObject">
<div class="uabb-image-content">
<img class="<?php echo $classes; ?>" src="<?php echo $src; ?>" alt="<?php echo $alt; ?>" itemprop="image"/>
<img class="<?php echo $classes; ?>" src="<?php echo esc_url($src); ?>" alt="<?php echo esc_attr($alt); ?>" itemprop="image"/>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modules/image-separator/includes/frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
echo ' uabb-image-crop-' . $settings->image_style;}
?>
" itemscope itemtype="http://schema.org/ImageObject">
<img class="<?php echo $classes; ?> <?php echo ( '0' == $settings->img_animation_repeat ) ? 'infinite' : ''; ?>" src="<?php echo $src; ?>" alt="<?php echo $alt; ?>" itemprop="image"/>
<img class="<?php echo $classes; ?> <?php echo ( '0' == $settings->img_animation_repeat ) ? 'infinite' : ''; ?>" src="<?php echo esc_url($src); ?>" alt="<?php echo esc_attr($alt); ?>" itemprop="image"/>
</div>
</div>
1 change: 1 addition & 0 deletions modules/uabb-heading/uabb-heading-bb-2-2-compatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@
'type' => 'select',
'label' => __( 'HTML Tag', 'uabb' ),
'default' => 'h3',
'sanitize' => array( 'FLBuilderUtils::esc_tags', 'h3' ),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@
'type' => 'select',
'label' => __( 'HTML Tag', 'uabb' ),
'default' => 'h3',
'sanitize' => array( 'FLBuilderUtils::esc_tags', 'h3' ),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
Expand Down
4 changes: 2 additions & 2 deletions modules/uabb-star-rating/includes/frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<?php
if ( 'bottom' === $settings->star_position ) {
?>
<div class="uabb-rating-title"><?php echo $title; ?></div>
<div class="uabb-rating-title"><?php echo esc_html($title); ?></div>
<?php
}
?>
Expand Down Expand Up @@ -47,7 +47,7 @@
<?php
if ( 'top' === $settings->star_position ) {
?>
<div class="uabb-rating-title"><?php echo $title; ?></div>
<div class="uabb-rating-title"><?php echo esc_html($title); ?></div>
<?php
}
?>
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/BrainstormForce
Tags: beaver builder, beaver builder free, beaver addons, beaver builder addon, beaver builder add ons, beaver builder lite, beaver builder modules, beaver builder addons, beaver builder extensions, beaver addon, beaver builder plugin, beaver builder wordpress
Requires at least: 4.6
Tested up to: 6.6
Stable tag: 1.5.8
Stable tag: 1.5.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -215,6 +215,10 @@ Yes it is! This plugin comes with .po and .mo files. It is already translated in

== Changelog ==

= 1.5.9 =
* Improvement: WPML compatibility for the Heading and Ribbon module.
* Improvement: Improved codebase for improved security.

= 1.5.8 =
* Improvement: This update addressed a security bug. Props to Patchstack for privately reporting it to our team.
* Fixed: Info List - Undefined variable issue with PHP 8.
Expand Down

0 comments on commit 7bf0afb

Please sign in to comment.