PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.0
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.0
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/FrmStylesController.php +2 -20 6.46.0 View file →
@@ -1017,30 +1017,12 @@
1017 1017 */
1018 1018 $output = apply_filters( 'frm_saved_css', $output );
1019 1019
1020 1020 echo $output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1021 -
1022 - self::maybe_hide_sample_form_error_message();
1023 -
1024 1021 wp_die();
1025 1022 }
1026 1023
1027 1024 /**
1028 - * Add an extra style rule to hide a broken style warning.
1029 - * To avoid cluttering the front end with any unecessary styles this is only added when the referer URL matches the styler.
1030 - *
1031 - * @since 6.2.3
1032 - *
1033 - * @return void
1034 - */
1035 - public static function maybe_hide_sample_form_error_message() {
1036 - $referer = FrmAppHelper::get_server_value( 'HTTP_REFERER' );
1037 - if ( false !== strpos( $referer, 'admin.php?page=formidable-styles' ) ) {
1038 - echo '#frm_broken_styles_warning { display: none; }';
1039 - }
1040 - }
1041 -
1042 - /**
1043 1025 * Replaces relative URL with absolute URL.
1044 1026 *
1045 1027 * @since 4.11.03
1046 1028 *
@@ -1250,12 +1232,12 @@
1250 1232 FrmStylesPreviewHelper::disable_conflicting_wp_admin_css( $styles );
1251 1233 }
1252 1234
1253 1235 /**
1254 - * @deprecated 6.1 Saving custom CSS has been moved into Global Settings.
1236 + * @deprecated x.x Saving custom CSS has been moved into Global Settings.
1255 1237 *
1256 1238 * @return void
1257 1239 */
1258 1240 public static function save_css() {
1259 - _deprecated_function( __METHOD__, '6.1' );
1241 + _deprecated_function( __METHOD__, 'x.x' );
1260 1242 }
1261 1243 }