PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.7
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.7
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 +12 -5 6.3.16.7 View file →
@@ -80,13 +80,14 @@
80 80
81 81 if ( $form_id ) {
82 82 self::get_columns_for_form( $form_id, $columns );
83 83 } else {
84 - $columns[ $form_id . '_form_id' ] = __( 'Form', 'formidable' );
85 - $columns[ $form_id . '_name' ] = __( 'Entry Name', 'formidable' );
86 - $columns[ $form_id . '_user_id' ] = __( 'Created By', 'formidable' );
84 + $columns[ $form_id . '_form_id' ] = esc_html__( 'Form', 'formidable' );
85 + $columns[ $form_id . '_name' ] = esc_html__( 'Entry Name', 'formidable' );
86 + $columns[ $form_id . '_user_id' ] = esc_html__( 'Created By', 'formidable' );
87 87 }
88 88
89 + $columns[ $form_id . '_is_draft' ] = esc_html__( 'Entry Status', 'formidable' );
89 90 $columns[ $form_id . '_created_at' ] = __( 'Entry creation date', 'formidable' );
90 91 $columns[ $form_id . '_updated_at' ] = __( 'Entry update date', 'formidable' );
91 92 self::maybe_add_ip_col( $form_id, $columns );
92 93
@@ -96,9 +97,9 @@
96 97 if ( FrmAppHelper::is_admin_page( 'formidable-entries' ) && in_array( $action, array( '', 'list', 'destroy' ) ) ) {
97 98 add_screen_option(
98 99 'per_page',
99 100 array(
100 - 'label' => __( 'Entries', 'formidable' ),
101 + 'label' => esc_html__( 'Entries', 'formidable' ),
101 102 'default' => 20,
102 103 'option' => 'formidable_page_formidable_entries_per_page',
103 104 )
104 105 );
@@ -481,9 +482,15 @@
481 482 */
482 483 public static function destroy() {
483 484 $permission_error = FrmAppHelper::permission_nonce_error( 'frm_delete_entries', '_wpnonce', -1 );
484 485 if ( false !== $permission_error ) {
485 - wp_die( esc_html( $permission_error ) );
486 + $error_args = array(
487 + 'title' => __( 'Verification failed', 'formidable' ),
488 + 'body' => $permission_error,
489 + 'cancel_url' => admin_url( 'admin.php?page=formidable-entries' ),
490 + );
491 + FrmAppController::show_error_modal( $error_args );
492 + return;
486 493 }
487 494
488 495 $params = FrmForm::get_admin_params();
489 496