Plugin Directory

Changeset 3236445


Ignore:
Timestamp:
02/07/2025 08:08:06 AM (14 months ago)
Author:
zionbuilder
Message:

Fix for v3.6.14 release

Location:
zionbuilder/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zionbuilder/trunk/includes/RenderAttributes.php

    r3039889 r3236445  
    222222     */
    223223    public function parse_options_schema( $option_schema, $option_value, $index = null ) {
    224         if ( isset( $option_schema->render_attribute ) && is_array( $option_schema->render_attribute ) ) {
    225             foreach ( $option_schema->render_attribute as $attribute_config ) {
     224        if ( $option_schema->get_value( 'render_attribute' ) && is_array( $option_schema->get_value( 'render_attribute' ) ) ) {
     225            foreach ( $option_schema->get_value( 'render_attribute' ) as $attribute_config ) {
    226226
    227227                if ( ! empty( $option_value ) ) {
     
    231231                    $attribute_value = isset( $attribute_config['value'] ) ? $attribute_config['value'] : '';
    232232
    233                     if ( property_exists( $option_schema, 'responsive_options' ) && $option_schema->responsive_options ) {
     233                    if ( $option_schema->get_value( 'responsive_options' ) ) {
    234234                        $option_value = ! is_array( $option_value ) ? [ 'default' => $option_value ] : $option_value;
    235235                        foreach ( $option_value as $device_id => $value ) {
  • zionbuilder/trunk/languages/zionbuilder.pot

    r3236436 r3236445  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-02-07T07:45:25+00:00\n"
     12"POT-Creation-Date: 2025-02-07T07:58:10+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
Note: See TracChangeset for help on using the changeset viewer.