| @@ -15,15 +15,15 @@ | ||
| 15 | 15 | public static $slug = 'on_submit'; |
| 16 | 16 | |
| 17 | 17 | public function __construct() { |
| 18 | 18 | $action_ops = array( |
| 19 | - 'classes' => 'frm_icon_font frm_checkmark_icon', | |
| 20 | - 'active' => true, | |
| 21 | - 'event' => array( 'create' ), | |
| 22 | - 'limit' => 99, | |
| 23 | - 'priority' => 9, | |
| 24 | - 'color' => 'rgb(66, 193, 178)', | |
| 25 | - 'keywords' => __( 'redirect, success, confirmation, submit', 'formidable' ), | |
| 19 | + 'classes' => 'frm_icon_font frm_checkmark_icon', | |
| 20 | + 'active' => true, | |
| 21 | + 'event' => array( 'create' ), | |
| 22 | + 'limit' => 99, | |
| 23 | + 'priority' => 9, | |
| 24 | + 'color' => 'rgb(66, 193, 178)', | |
| 25 | + 'keywords' => __( 'redirect, success, confirmation, submit', 'formidable' ), | |
| 26 | 26 | ); |
| 27 | 27 | $action_ops = apply_filters( 'frm_' . self::$slug . '_control_settings', $action_ops ); |
| 28 | 28 | |
| 29 | 29 | $this->maybe_save_edit_trigger( $action_ops ); |
| @@ -60,10 +60,10 @@ | ||
| 60 | 60 | * This function should check that $new_instance is set correctly. |
| 61 | 61 | * The newly calculated value of $instance should be returned. |
| 62 | 62 | * If "false" is returned, the instance won't be saved/updated. |
| 63 | 63 | * |
| 64 | - * @param array $new_instance New settings for this instance as input by the user via form() | |
| 65 | - * @param array $old_instance Old settings for this instance | |
| 64 | + * @param array $new_instance New settings for this instance as input by the user via form(). | |
| 65 | + * @param array $old_instance Old settings for this instance. | |
| 66 | 66 | * |
| 67 | 67 | * @return array Settings to save or bool false to cancel saving |
| 68 | 68 | */ |
| 69 | 69 | public function update( $new_instance, $old_instance ) { |