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
In the class "GF_Zero_Spam" in method "add_key_value" the function RGFormsModel::is_html5_enabled() is used.
Gforms throws an warning on this that the function is deprecated with no fallback.
I'm refering to this line:
If I change the function call to an hardcoded "true" (which is also the fallback for the deprecated function in gravityforms) the form is displayed again as it should.
Expected result: Not showing a php warning and showing the form
Edit: the issue only shows when define( 'WP_DEBUG_DISPLAY', true ); is set obviously, which is the case on our development environment. But it is a deprecated function nonetheless and should be removed.
The text was updated successfully, but these errors were encountered:
In the class "GF_Zero_Spam" in method "add_key_value" the function
RGFormsModel::is_html5_enabled()
is used.Gforms throws an warning on this that the function is deprecated with no fallback.
I'm refering to this line:
If I change the function call to an hardcoded "true" (which is also the fallback for the deprecated function in gravityforms) the form is displayed again as it should.
Expected result: Not showing a php warning and showing the form
Edit: the issue only shows when
define( 'WP_DEBUG_DISPLAY', true );
is set obviously, which is the case on our development environment. But it is a deprecated function nonetheless and should be removed.The text was updated successfully, but these errors were encountered: