Plugin Directory

Changeset 3349454


Ignore:
Timestamp:
08/25/2025 06:16:06 AM (7 months ago)
Author:
closemarketing
Message:

Update to version 1.0.2 from GitHub

Location:
frontblocks
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • frontblocks/tags/1.0.2/frontblocks.php

    r3349208 r3349454  
    44 * Plugin URI:  https://wordpress.org/plugins/frontblocks/
    55 * Description: Blocks and helpers that extends GeneratePress blocks.
    6  * Version:     1.0.1
     6 * Version:     1.0.2
    77 * Author:      Closemarketing
    88 * Author URI:  https://close.marketing
     
    2727defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
    2828
    29 define( 'FRBL_VERSION', '1.0.1' );
     29define( 'FRBL_VERSION', '1.0.2' );
    3030define( 'FRBL_PLUGIN', __FILE__ );
    3131define( 'FRBL_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
  • frontblocks/tags/1.0.2/includes/carousel/frontblocks-advanced-option.jsx

    r3338168 r3349454  
    88function addCustomCarouselPanel(BlockEdit) {
    99    return (props) => {
    10         if (props.name !== 'generateblocks/grid') {
     10        // Support both grid blocks and element blocks with grid display
     11        if (props.name !== 'generateblocks/grid' && props.name !== 'generateblocks/element') {
     12            return <BlockEdit {...props} />;
     13        }
     14
     15        // For element blocks, only show carousel options if it has grid display
     16        if (props.name === 'generateblocks/element') {
     17            const styles = props.attributes.styles || {};
     18            if (styles.display !== 'grid') {
    1119                return <BlockEdit {...props} />;
     20            }
    1221        }
    1322
  • frontblocks/tags/1.0.2/includes/dist/frontblocks-advanced-option.js

    r3338168 r3349454  
    1515function addCustomCarouselPanel(BlockEdit) {
    1616  return function (props) {
    17     if (props.name !== 'generateblocks/grid') {
     17    // Support both grid blocks and element blocks with grid display
     18    if (props.name !== 'generateblocks/grid' && props.name !== 'generateblocks/element') {
    1819      return /*#__PURE__*/React.createElement(BlockEdit, props);
     20    }
     21
     22    // For element blocks, only show carousel options if it has grid display
     23    if (props.name === 'generateblocks/element') {
     24      var styles = props.attributes.styles || {};
     25      if (styles.display !== 'grid') {
     26        return /*#__PURE__*/React.createElement(BlockEdit, props);
     27      }
    1928    }
    2029    var _props$attributes = props.attributes,
  • frontblocks/tags/1.0.2/readme.txt

    r3349208 r3349454  
    55Requires at least: 5.0
    66Tested up to: 6.8
    7 Stable tag: 1.0.1
    8 Version: 1.0.1
     7Stable tag: 1.0.2
     8Version: 1.0.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6969
    7070== Changelog ==
    71 = 1.0.1 =
     71= 1.0.1 & 1.0.2 =
    7272*   Fixed: options for carousel/slider not showing.
    7373
  • frontblocks/trunk/frontblocks.php

    r3349208 r3349454  
    44 * Plugin URI:  https://wordpress.org/plugins/frontblocks/
    55 * Description: Blocks and helpers that extends GeneratePress blocks.
    6  * Version:     1.0.1
     6 * Version:     1.0.2
    77 * Author:      Closemarketing
    88 * Author URI:  https://close.marketing
     
    2727defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
    2828
    29 define( 'FRBL_VERSION', '1.0.1' );
     29define( 'FRBL_VERSION', '1.0.2' );
    3030define( 'FRBL_PLUGIN', __FILE__ );
    3131define( 'FRBL_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
  • frontblocks/trunk/includes/carousel/frontblocks-advanced-option.jsx

    r3338168 r3349454  
    88function addCustomCarouselPanel(BlockEdit) {
    99    return (props) => {
    10         if (props.name !== 'generateblocks/grid') {
     10        // Support both grid blocks and element blocks with grid display
     11        if (props.name !== 'generateblocks/grid' && props.name !== 'generateblocks/element') {
     12            return <BlockEdit {...props} />;
     13        }
     14
     15        // For element blocks, only show carousel options if it has grid display
     16        if (props.name === 'generateblocks/element') {
     17            const styles = props.attributes.styles || {};
     18            if (styles.display !== 'grid') {
    1119                return <BlockEdit {...props} />;
     20            }
    1221        }
    1322
  • frontblocks/trunk/includes/dist/frontblocks-advanced-option.js

    r3338168 r3349454  
    1515function addCustomCarouselPanel(BlockEdit) {
    1616  return function (props) {
    17     if (props.name !== 'generateblocks/grid') {
     17    // Support both grid blocks and element blocks with grid display
     18    if (props.name !== 'generateblocks/grid' && props.name !== 'generateblocks/element') {
    1819      return /*#__PURE__*/React.createElement(BlockEdit, props);
     20    }
     21
     22    // For element blocks, only show carousel options if it has grid display
     23    if (props.name === 'generateblocks/element') {
     24      var styles = props.attributes.styles || {};
     25      if (styles.display !== 'grid') {
     26        return /*#__PURE__*/React.createElement(BlockEdit, props);
     27      }
    1928    }
    2029    var _props$attributes = props.attributes,
  • frontblocks/trunk/readme.txt

    r3349208 r3349454  
    55Requires at least: 5.0
    66Tested up to: 6.8
    7 Stable tag: 1.0.1
    8 Version: 1.0.1
     7Stable tag: 1.0.2
     8Version: 1.0.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6969
    7070== Changelog ==
    71 = 1.0.1 =
     71= 1.0.1 & 1.0.2 =
    7272*   Fixed: options for carousel/slider not showing.
    7373
Note: See TracChangeset for help on using the changeset viewer.