PluginProbe
Tutor LMS – eLearning and online course solution / 3.7.2
Tutor LMS – eLearning and online course solution v3.7.2
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 3.9.15 3.9.14 3.9.13 3.9.12 3.9.11 trunk 1.0.0 1.0.0-alpha 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 All 191 releases
← All changes | classes/Custom_Validation.php +2 -2 4.0.43.7.2 View file →
@@ -10,9 +10,9 @@
10 10
11 11 namespace TUTOR;
12 12
13 13 /**
14 - * Custom Validation Trait
14 + * Custom Valaidation Trait
15 15 *
16 16 * @since 2.0.0
17 17 */
18 18 trait Custom_Validation {
@@ -25,8 +25,8 @@
25 25 * @param string $order sorting order.
26 26 * @return bool
27 27 */
28 28 public function validate_order( $order ) {
29 - return in_array( strtolower( $order ), array( 'asc', 'desc' ), true );
29 + return in_array( strtolower( $order ), array( 'asc', 'desc' ) );
30 30 }
31 31 }
32 32