| @@ -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 ); |