@@ -50,26 +50,26 @@ |
||
50 | 50 | |
51 | 51 | if ( ! empty( $quiz_fields ) ) { |
52 | 52 | |
53 | - $fields['gquiz_score'] = array( |
|
53 | + $fields[ 'gquiz_score' ] = array( |
|
54 | 54 | 'label' => __( 'Quiz Score Total', 'gravityview' ), |
55 | 55 | 'type' => 'quiz_score', |
56 | 56 | 'desc' => __( 'Displays the number of correct Quiz answers the user submitted.', 'gravityview' ), |
57 | 57 | 'icon' => 'dashicons-forms', |
58 | 58 | ); |
59 | - $fields['gquiz_percent'] = array( |
|
59 | + $fields[ 'gquiz_percent' ] = array( |
|
60 | 60 | 'label' => __( 'Quiz Percentage Grade', 'gravityview' ), |
61 | 61 | 'type' => 'quiz_percent', |
62 | 62 | 'desc' => __( 'Displays the percentage of correct Quiz answers the user submitted.', 'gravityview' ), |
63 | 63 | 'icon' => 'dashicons-forms', |
64 | 64 | ); |
65 | - $fields['gquiz_grade'] = array( |
|
65 | + $fields[ 'gquiz_grade' ] = array( |
|
66 | 66 | /* translators: This is a field type used by the Gravity Forms Quiz Addon. "A" is 100-90, "B" is 89-80, "C" is 79-70, etc. */ |
67 | 67 | 'label' => __( 'Quiz Letter Grade', 'gravityview' ), |
68 | 68 | 'type' => 'quiz_grade', |
69 | 69 | 'desc' => __( 'Displays the Grade the user achieved based on Letter Grading configured in the Quiz Settings.', 'gravityview' ), |
70 | 70 | 'icon' => 'dashicons-forms', |
71 | 71 | ); |
72 | - $fields['gquiz_is_pass'] = array( |
|
72 | + $fields[ 'gquiz_is_pass' ] = array( |
|
73 | 73 | 'label' => __( 'Quiz Pass/Fail', 'gravityview' ), |
74 | 74 | 'type' => 'quiz_is_pass', |
75 | 75 | 'desc' => __( 'Displays either Passed or Failed based on the Pass/Fail settings configured in the Quiz Settings.', 'gravityview' ), |