PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.5.4
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.5.4
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/FrmEntriesController.php +17 -10 6.35.5.4 View file →
@@ -472,19 +472,10 @@
472 472
473 473 include( FrmAppHelper::plugin_path() . '/classes/views/frm-entries/show.php' );
474 474 }
475 475
476 - /**
477 - * Destroy an entry from the admin page.
478 - * This is triggered from the entries list from the "Delete" row action, and also from the "Delete Entry" trigger in the view/edit entry sidebar.
479 - *
480 - * @return void
481 - */
482 476 public static function destroy() {
483 - $permission_error = FrmAppHelper::permission_nonce_error( 'frm_delete_entries', '_wpnonce', -1 );
484 - if ( false !== $permission_error ) {
485 - wp_die( esc_html( $permission_error ) );
486 - }
477 + FrmAppHelper::permission_check( 'frm_delete_entries' );
487 478
488 479 $params = FrmForm::get_admin_params();
489 480
490 481 if ( isset( $params['keep_post'] ) && $params['keep_post'] ) {
@@ -703,6 +694,22 @@
703 694 */
704 695 public static function contextual_help( $help, $screen_id, $screen ) {
705 696 _deprecated_function( __METHOD__, '4.0' );
706 697 return $help;
698 + }
699 +
700 + /**
701 + * @deprecated 1.07.05
702 + * @codeCoverageIgnore
703 + */
704 + public static function show_form( $id = '', $key = '', $title = false, $description = false ) {
705 + return FrmDeprecated::show_form( $id, $key, $title, $description );
706 + }
707 +
708 + /**
709 + * @deprecated 1.07.05
710 + * @codeCoverageIgnore
711 + */
712 + public static function get_form( $filename, $form, $title, $description ) {
713 + return FrmDeprecated::get_form( $filename, $form, $title, $description );
707 714 }
708 715 }