-
Notifications
You must be signed in to change notification settings - Fork 584
Closed
Description
Hi,
I think found a small bug on the system. When I use text option like below everything is ok;
array(
'id' => 'setup42_itempagedetails_config2',
'type' => 'text',
'title' => __('Section Titles', 'xx'),
'options' => array(
'gallery' => __('Item Gallery', 'xx') ,
'location' => __('Item Location', 'xx') ,
'description' => __('Item Description', 'xx'),
'details' => __('Item Details', 'xx'),
'features' => __('Item Features', 'xx')
) ,
'default' => array(
'gallery' => 1,
'location' => 1,
'description' => 1,
'details' => 1,
'features' => 1,
)
),
But if not write default values receive error like below;
Item Gallery
Warning: Illegal string offset 'gallery' in xx/ReduxCore/inc/fields/text/field_text.php on line 61
Also Placeholder arg. not available for use an array like option arg.
Thanks for your help.
Webbu Design.
Metadata
Metadata
Assignees
Labels
No labels