PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 All 140 releases
← All changes | inc/handle-steps/class-lp-handle-steps.php +3 -3 4.1.7 → 4.4.9 View file →
@@ -22,14 +22,14 @@
22 22 try {
23 23 $steps = $params['steps'] ?? array();
24 24
25 25 if ( empty( $steps ) ) {
26 - throw new Exception( __( 'Steps invalid', 'learnpress' ) );
26 + throw new Exception( __( 'Invalid steps', 'learnpress' ) );
27 27 }
28 28
29 29 $step = $params['step'] ?? '';
30 30 if ( empty( $step ) ) {
31 - throw new Exception( __( 'Step invalid', 'learnpress' ) );
31 + throw new Exception( __( 'Invalid step', 'learnpress' ) );
32 32 }
33 33
34 34 $data = $params['data'] ?? array();
35 35
@@ -74,7 +74,7 @@
74 74 if ( is_callable( $step_function ) ) {
75 75 return call_user_func( $step_function, $data );
76 76 }
77 77
78 - throw new Exception( __( 'Not found function', 'learnpress' ) . $step_function );
78 + throw new Exception( __( 'Function not found', 'learnpress' ) . $step_function );
79 79 }
80 80 }