Skip to content

Commit 2a592fd

Browse files
committed
Updated function name to match action
1 parent 78f1873 commit 2a592fd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

includes/class-ajax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ public function get_entry_detail() {
576576
$has_empty = true;
577577
break;
578578
} else {
579-
$field = WeForms_Form_Entry_Manager::format_entry_details( $field );
579+
$field = WeForms_Form_Entry_Manager::format_entry_value( $field );
580580
array_push( $fields_formatted, $field );
581581
}
582582
}

includes/class-form-entry-manager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ public function get( $entry_id ) {
5353
}
5454

5555
/**
56-
* Format Entry Values.
56+
* Format Entry Value.
5757
*
5858
* @static
5959
* @param array $field
6060
*
6161
* @return array $field
6262
*/
63-
public static function format_entry_details( $field ) {
63+
public static function format_entry_value( $field ) {
6464
switch ( $field['template'] ) {
6565

6666
case 'radio_field':

0 commit comments

Comments
 (0)