PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.4.3
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.4.3
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/controllers/FrmFieldsController.php +20 -5 6.35.4.3 View file →
@@ -767,12 +767,8 @@
767 767 if ( FrmField::is_option_empty( $field, 'shortcodes' ) ) {
768 768 return;
769 769 }
770 770
771 - if ( ! empty( $field['autocomplete'] ) ) {
772 - unset( $field['shortcodes']['autocomplete'] );
773 - }
774 -
775 771 foreach ( $field['shortcodes'] as $k => $v ) {
776 772 if ( 'opt' === $k ) {
777 773 continue;
778 774 }
@@ -878,9 +874,12 @@
878 874 *
879 875 * @deprecated 4.0 Moved to Pro for Other option only.
880 876 */
881 877 public static function add_option() {
882 - _deprecated_function( __METHOD__, '4.0', 'FrmProFieldsController::add_other_option' );
878 + _deprecated_function( __METHOD__, '4.0', 'FrmProFormsController::add_other_option' );
879 + if ( is_callable( 'FrmProFormsController::add_other_option' ) ) {
880 + FrmProFormsController::add_other_option();
881 + }
883 882 }
884 883
885 884 /**
886 885 * @deprecated 4.0
@@ -908,6 +907,22 @@
908 907 * @return array
909 908 */
910 909 public static function include_single_field( $field_id, $values, $form_id = 0 ) {
911 910 return FrmDeprecated::include_single_field( $field_id, $values, $form_id );
911 + }
912 +
913 + /**
914 + * @deprecated 2.3
915 + * @codeCoverageIgnore
916 + */
917 + public static function edit_option() {
918 + FrmDeprecated::deprecated( __METHOD__, '2.3' );
919 + }
920 +
921 + /**
922 + * @deprecated 2.3
923 + * @codeCoverageIgnore
924 + */
925 + public static function delete_option() {
926 + FrmDeprecated::deprecated( __METHOD__, '2.3' );
912 927 }
913 928 }