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/helpers/FrmEntriesHelper.php +3 -2 6.5.2 → 6.7 View file →
@@ -823,12 +823,13 @@
823 823 /**
824 824 * Get all entry statuses.
825 825 *
826 826 * @since 6.5
827 + * @since 6.6 function went from private to public.
827 828 *
828 829 * @return array<string>
829 830 */
830 - private static function get_entry_statuses() {
831 + public static function get_entry_statuses() {
831 832
832 833 $default_entry_statuses = array(
833 834 self::SUBMITTED_ENTRY_STATUS => __( 'Submitted', 'formidable' ),
834 835 self::DRAFT_ENTRY_STATUS => __( 'Draft', 'formidable' ),
@@ -846,9 +847,9 @@
846 847 */
847 848 $extended_entry_status = apply_filters( 'frm_entry_statuses', array() );
848 849
849 850 if ( ! is_array( $extended_entry_status ) ) {
850 - _doing_it_wrong( __METHOD__, esc_html__( 'Entry status must be return in array format.', 'formidable' ), 'x.x' );
851 + _doing_it_wrong( __METHOD__, esc_html__( 'Entry status must be return in array format.', 'formidable' ), '6.5' );
851 852 $extended_entry_status = array();
852 853 }
853 854
854 855 $existing_entry_statuses = array_replace( $default_entry_statuses, $extended_entry_status );