You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GFCommon::log_debug( __METHOD__ . '(): The gform_entry_id_pre_save_lead filter was used to set the entry ID to ' . var_export( $lead_id, true ) );
1956
+
GFCommon::log_debug( __METHOD__ . '(): The gform_entry_id_pre_save_lead filter was used to set the entry ID to ' . var_export( $lead_id, true ) );// phpcs:ignore QITStandard.PHP.DebugCode.DebugFunctionFound
1957
1957
1958
1958
if ( empty( $lead ) ) {
1959
1959
$lead = array();
@@ -3963,7 +3963,7 @@ public static function get_input_mask_init_script( $form ) {
3963
3963
* @param string $mask The input mask value.
3964
3964
*/
3965
3965
if ( gf_has_filter( array( 'gform_input_mask_script', $form['id'] ) ) ) {
3966
-
trigger_error( 'gform_input_mask_script is deprecated and will be removed in version 3.0.', E_USER_DEPRECATED );
3966
+
trigger_error( 'gform_input_mask_script is deprecated and will be removed in version 3.0.', E_USER_DEPRECATED );// phpcs:ignore QITStandard.PHP.DebugCode.DebugFunctionFound
Copy file name to clipboardExpand all lines: form_settings.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -678,7 +678,7 @@ public static function form_settings_fields( $form ) {
678
678
*/
679
679
680
680
if ( has_filter( 'gform_form_settings' ) ) {
681
-
trigger_error( 'gform_form_settings is deprecated and will be removed in version 3.0.', E_USER_DEPRECATED );
681
+
trigger_error( 'gform_form_settings is deprecated and will be removed in version 3.0.', E_USER_DEPRECATED );// phpcs:ignore QITStandard.PHP.DebugCode.DebugFunctionFound
Copy file name to clipboardExpand all lines: forms_model.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1863,7 +1863,7 @@ public static function delete_entries_by_form( $form_id, $status = '' ) {
1863
1863
*/
1864
1864
1865
1865
if ( has_action( 'gform_delete_lead' ) ) {
1866
-
trigger_error( 'The gform_delete_lead action is deprecated and will be removed in 3.0. Use gform_delete_entry instead.', E_USER_DEPRECATED );
1866
+
trigger_error( 'The gform_delete_lead action is deprecated and will be removed in 3.0. Use gform_delete_entry instead.', E_USER_DEPRECATED );// phpcs:ignore QITStandard.PHP.DebugCode.DebugFunctionFound
1867
1867
}
1868
1868
do_action( 'gform_delete_lead', $entry_id );
1869
1869
@@ -2097,7 +2097,7 @@ public static function duplicate_form( $form_id ) {
2097
2097
*/
2098
2098
2099
2099
if ( has_action( 'gform_after_duplicate_form' ) ) {
2100
-
trigger_error( 'The gform_after_duplicate_form action is deprecated and will be removed in 3.0. Use gform_post_form_duplicated instead.', E_USER_DEPRECATED );
2100
+
trigger_error( 'The gform_after_duplicate_form action is deprecated and will be removed in 3.0. Use gform_post_form_duplicated instead.', E_USER_DEPRECATED );// phpcs:ignore QITStandard.PHP.DebugCode.DebugFunctionFound
@@ -2810,7 +2810,7 @@ public static function delete_entry( $entry_id ) {
2810
2810
*/
2811
2811
2812
2812
if ( has_action( 'gform_delete_lead' ) ) {
2813
-
trigger_error( 'The gform_delete_lead action is deprecated and will be removed in version 3.0. Use gform_delete_entry instead.', E_USER_DEPRECATED );
2813
+
trigger_error( 'The gform_delete_lead action is deprecated and will be removed in version 3.0. Use gform_delete_entry instead.', E_USER_DEPRECATED );// phpcs:ignore QITStandard.PHP.DebugCode.DebugFunctionFound
2814
2814
}
2815
2815
do_action( 'gform_delete_lead', $entry_id );
2816
2816
@@ -5257,7 +5257,7 @@ public static function create_post( $form, &$lead ) {
GFCommon::log_debug( __METHOD__ . '(): Setting the featured image. Result from set_post_thumbnail(): ' . var_export( $result, 1 ) );
5260
+
GFCommon::log_debug( __METHOD__ . '(): Setting the featured image. Result from set_post_thumbnail(): ' . var_export( $result, 1 ) );// phpcs:ignore QITStandard.PHP.DebugCode.DebugFunctionFound
5261
5261
}
5262
5262
}
5263
5263
}
@@ -5611,7 +5611,7 @@ public static function save_input( $form, $field, &$lead, $current_fields, $inpu
0 commit comments