Skip to content

Commit

Permalink
Merge pull request #137 from brainstormforce/next-release
Browse files Browse the repository at this point in the history
🎉 Build version 1.5.13
  • Loading branch information
sushmak02 authored Nov 19, 2024
2 parents 9ac3057 + caba275 commit 0bb9b49
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 60 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
**Donate link:** https://www.paypal.me/BrainstormForce
**Tags:** beaver builder, beaver builder free, beaver builder lite, beaver builder addons, beaver builder extensions
**Requires at least:** 4.6
**Tested up to:** 6.6
**Stable tag:** 1.5.12
**Tested up to:** 6.7
**Stable tag:** 1.5.13
**License:** GPLv2 or later
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html

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

## Changelog ##

### 1.5.13 ###
* Fixed: Info List - Resolved warning for undefined array key when selecting image size in the module.

### 1.5.12 ###
* Improvement: Improved code quality syntax and security checks for better coding standards and practices.
* Fixed: Info List - Icon overlap issue.
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.12
* Version: 1.5.13
* 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.12' );
define( 'BB_ULTIMATE_ADDON_LITE_VERSION', '1.5.13' );
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
2 changes: 2 additions & 0 deletions classes/class-uabb-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public function __construct() {
add_action( 'admin_notices', array( $this, 'admin_notices' ) );
add_action( 'network_admin_notices', array( $this, 'admin_notices' ) );
}
// Hook the load_plugin_textdomain function to the init action.
add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
}
/**
* Function that renders links
Expand Down
53 changes: 2 additions & 51 deletions languages/uabb.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# This file is distributed under the same license as the Ultimate Addons for Beaver Builder - Lite package.
msgid ""
msgstr ""
"Project-Id-Version: Ultimate Addons for Beaver Builder - Lite 1.5.12\n"
"Project-Id-Version: Ultimate Addons for Beaver Builder - Lite 1.5.13\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/ultimate-addons-for-beaver-builder-"
"lite\n"
"POT-Creation-Date: 2024-10-01 08:49:20+00:00\n"
"POT-Creation-Date: 2024-11-15 07:16:51+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -4509,41 +4509,6 @@ msgstr ""
msgid "Justify"
msgstr ""

#: vendor/wp-cli/core-command/src/Core_Command.php:749
msgid "Wildcard DNS may not be configured correctly."
msgstr ""

#: vendor/wp-cli/entity-command/src/Site_Command.php:157
msgid "Uncategorized"
msgstr ""

#: vendor/wp-cli/export-command/src/WP_Export_XML_Over_HTTP.php:20
#: vendor/wp-cli/export-command/src/WP_Export_XML_Over_HTTP.php:25
msgid "Export Error"
msgstr ""

#: vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php:770
msgid " Try again"
msgstr ""

#: vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php:776
msgid "API error. Try Again."
msgstr ""

#: vendor/wp-cli/media-command/src/Media_Command.php:159
msgid "image"
msgid_plural "images"
msgstr[0] ""
msgstr[1] ""

#: vendor/wp-cli/wp-cli/php/utils-wp.php:247
msgid "Inactive Widgets"
msgstr ""

#: vendor/wp-cli/wp-cli/php/utils-wp.php:250
msgid "Drag widgets here to remove them from the sidebar but keep their settings."
msgstr ""

#. Plugin Name of the plugin/theme
msgid "Ultimate Addons for Beaver Builder - Lite"
msgstr ""
Expand Down Expand Up @@ -4594,18 +4559,4 @@ msgstr ""
#: objects/fl-nested-form-button.php:225 objects/fl-nested-form-button.php:656
msgctxt "Width."
msgid "Auto"
msgstr ""

#: vendor/wp-cli/core-command/src/Core_Command.php:491
#: vendor/wp-cli/core-command/src/Core_Command.php:565
#. translators: placeholder is blog name
#. translators: placeholder is user supplied title
msgctxt "Default network name"
msgid "%s Sites"
msgstr ""

#: vendor/wp-cli/entity-command/src/Site_Command.php:160
#. translators: Default category slug
msgctxt "Default category slug"
msgid "Uncategorized"
msgstr ""
4 changes: 2 additions & 2 deletions modules/info-list/includes/frontend.css.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
<?php
}

if ( 'photo' === $item->image_type && ( 'custom' === $settings->list_icon_style || 'simple' === $settings->list_icon_style ) ) :
if ( ( isset( $item->image_type ) && 'photo' === $item->image_type ) && ( 'custom' === $settings->list_icon_style || 'simple' === $settings->list_icon_style ) ) :
$img_size = array();
if ( 'library' === $item->photo_source && '' !== $item->photo ) :
$img_size[0] = ( isset( FLBuilderPhoto::get_attachment_data( $item->photo )->width ) ) ? FLBuilderPhoto::get_attachment_data( $item->photo )->width : '';
Expand All @@ -392,7 +392,7 @@
$img_size = getimagesize( $item->photo_url );
endif;

if ( ( 0 !== intval( $img_size[0] ) ) && ( 0 !== intval( $img_size[1] ) ) ) :
if ( isset( $img_size[0] ) && isset( $img_size[1] ) && ( 0 !== intval( $img_size[0] ) ) && ( 0 !== intval( $img_size[1] ) ) ) :
$actual_height = ( intval( $settings->icon_image_size ) * intval( $img_size[1] ) ) / intval( $img_size[0] );

if ( $actual_height > $settings->icon_image_size ) :
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: brainstormforce
Donate link: https://www.paypal.me/BrainstormForce
Tags: beaver builder, beaver builder free, beaver builder lite, beaver builder addons, beaver builder extensions
Requires at least: 4.6
Tested up to: 6.6
Stable tag: 1.5.12
Tested up to: 6.7
Stable tag: 1.5.13
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==

= 1.5.13 =
* Fixed: Info List - Resolved warning for undefined array key when selecting image size in the module.

= 1.5.12 =
* Improvement: Improved code quality syntax and security checks for better coding standards and practices.
* Fixed: Info List - Icon overlap issue.
Expand Down
2 changes: 1 addition & 1 deletion tests/php/stubs/lite-stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -2411,7 +2411,7 @@ public function __construct() {
}
\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.12' );
\define( 'BB_ULTIMATE_ADDON_LITE_VERSION', '1.5.13' );
\define( 'BSF_REMOVE_UABB_FROM_REGISTRATION_LISTING', \true );
\define( 'BB_ULTIMATE_ADDON_FILE', \trailingslashit( __DIR__ ) . 'bb-ultimate-addon.php' );
// @codingStandardsIgnoreLine.
Expand Down

0 comments on commit 0bb9b49

Please sign in to comment.