Changeset 1868156
- Timestamp:
- 05/03/2018 01:26:52 PM (8 years ago)
- Location:
- ultimate-fields/trunk
- Files:
-
- 2 edited
-
core/classes/Controller/Options.php (modified) (1 diff)
-
ui/classes/Field_Editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ultimate-fields/trunk/core/classes/Controller/Options.php
r1856787 r1868156 403 403 foreach( $this->get_rest_fields() as $combo ) { 404 404 foreach( $combo[ 'fields' ] as $field => $access ) { 405 $options[ $field ] = $api->get_value( $field, 'option' ); 405 $value = $api->get_value( $field, 'option' ); 406 407 if( is_object( $value ) && method_exists( $value, 'export' ) ) { 408 $value = $value->export(); 409 } 410 411 $options[ $field ] = $value; 406 412 } 407 413 } -
ultimate-fields/trunk/ui/classes/Field_Editor.php
r1856787 r1868156 153 153 $this->fields(); 154 154 foreach( $this->enqueue_callbacks as $callback ) { 155 call_user_func( $callback ); 155 if( is_callable( $callback ) ) { 156 call_user_func( $callback ); 157 } 156 158 } 157 159 }
Note: See TracChangeset
for help on using the changeset viewer.