PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 3.6.6
JetFormBuilder — Dynamic Blocks Form Builder v3.6.6
3.6.6.1 3.6.6 3.6.5.4 3.6.5.3 3.6.5.2 3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 134 releases
← All changes | modules/form-record/controller.php +7 -0 3.6.0.1 → 3.6.6 View file →
@@ -275,12 +275,19 @@
275 275 if ( ! $action->get_executed_events() ) {
276 276 continue;
277 277 }
278 278 foreach ( $action->get_executed_events() as $on_event ) {
279 + $action_name = '';
280 +
281 + if ( isset( $action->editor_name ) && is_string( $action->editor_name ) ) {
282 + $action_name = trim( $action->editor_name );
283 + }
284 +
279 285 $actions[] = array(
280 286 'record_id' => $this->record_id,
281 287 'action_slug' => $action->get_id(),
282 288 'action_id' => $action->_id,
289 + 'action_name' => $action_name ? $action_name : $action->get_name(),
283 290 'on_event' => $on_event,
284 291 'status' => $status,
285 292 );
286 293 }