Changeset 3236445
- Timestamp:
- 02/07/2025 08:08:06 AM (14 months ago)
- Location:
- zionbuilder/trunk
- Files:
-
- 2 edited
-
includes/RenderAttributes.php (modified) (2 diffs)
-
languages/zionbuilder.pot (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zionbuilder/trunk/includes/RenderAttributes.php
r3039889 r3236445 222 222 */ 223 223 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_attributeas $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 ) { 226 226 227 227 if ( ! empty( $option_value ) ) { … … 231 231 $attribute_value = isset( $attribute_config['value'] ) ? $attribute_config['value'] : ''; 232 232 233 if ( property_exists( $option_schema, 'responsive_options' ) && $option_schema->responsive_options) {233 if ( $option_schema->get_value( 'responsive_options' ) ) { 234 234 $option_value = ! is_array( $option_value ) ? [ 'default' => $option_value ] : $option_value; 235 235 foreach ( $option_value as $device_id => $value ) { -
zionbuilder/trunk/languages/zionbuilder.pot
r3236436 r3236445 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "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" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n"
Note: See TracChangeset
for help on using the changeset viewer.