| @@ -80,14 +80,13 @@ | ||
| 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' ] = 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' ); | |
| 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' ); | |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | - $columns[ $form_id . '_is_draft' ] = esc_html__( 'Entry Status', 'formidable' ); | |
| 90 | 89 | $columns[ $form_id . '_created_at' ] = __( 'Entry creation date', 'formidable' ); |
| 91 | 90 | $columns[ $form_id . '_updated_at' ] = __( 'Entry update date', 'formidable' ); |
| 92 | 91 | self::maybe_add_ip_col( $form_id, $columns ); |
| 93 | 92 | |
| @@ -97,9 +96,9 @@ | ||
| 97 | 96 | if ( FrmAppHelper::is_admin_page( 'formidable-entries' ) && in_array( $action, array( '', 'list', 'destroy' ) ) ) { |
| 98 | 97 | add_screen_option( |
| 99 | 98 | 'per_page', |
| 100 | 99 | array( |
| 101 | - 'label' => esc_html__( 'Entries', 'formidable' ), | |
| 100 | + 'label' => __( 'Entries', 'formidable' ), | |
| 102 | 101 | 'default' => 20, |
| 103 | 102 | 'option' => 'formidable_page_formidable_entries_per_page', |
| 104 | 103 | ) |
| 105 | 104 | ); |
| @@ -704,6 +703,22 @@ | ||
| 704 | 703 | */ |
| 705 | 704 | public static function contextual_help( $help, $screen_id, $screen ) { |
| 706 | 705 | _deprecated_function( __METHOD__, '4.0' ); |
| 707 | 706 | return $help; |
| 707 | + } | |
| 708 | + | |
| 709 | + /** | |
| 710 | + * @deprecated 1.07.05 | |
| 711 | + * @codeCoverageIgnore | |
| 712 | + */ | |
| 713 | + public static function show_form( $id = '', $key = '', $title = false, $description = false ) { | |
| 714 | + return FrmDeprecated::show_form( $id, $key, $title, $description ); | |
| 715 | + } | |
| 716 | + | |
| 717 | + /** | |
| 718 | + * @deprecated 1.07.05 | |
| 719 | + * @codeCoverageIgnore | |
| 720 | + */ | |
| 721 | + public static function get_form( $filename, $form, $title, $description ) { | |
| 722 | + return FrmDeprecated::get_form( $filename, $form, $title, $description ); | |
| 708 | 723 | } |
| 709 | 724 | } |